Wales keeps its readings when the English feed is down
Every two hours we fetch river levels from two places: the Environment Agency for England and Natural Resources Wales for Wales. Until now, if the English feed failed, we gave up before asking the Welsh one. That happened on 21 November, so the 20 Welsh gauges missed a reading in a week when Brecon and Builth Wells had been partly flooded.
The two are now fetched independently. If one is down, paths in the other country still update, and the English feed gets a second try a few seconds later.
We also put a time limit on every request we make to those services. Before, one that connected and then went quiet could hold up a page or stop the nightly job partway, which is what happened on 21 November. Now a request that gets no answer is treated like any other failed one: the page shows the last reading we stored, with its time.