mysociety / mapit

A web service to map postcodes to administrative boundaries and more
Other
269 stars 88 forks source link

Handle alternative Postgres timeout errors #391

Closed davea closed 2 years ago

davea commented 2 years ago

Some queries on Postgres 13.7 timeout with a different error, so make sure we spot that and handle it nicely.

For https://github.com/mysociety/sysadmin/issues/1568

codecov[bot] commented 2 years ago

Codecov Report

Merging #391 (c447e35) into master (55c59f2) will decrease coverage by 0.04%. The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #391      +/-   ##
==========================================
- Coverage   71.96%   71.91%   -0.05%     
==========================================
  Files          39       39              
  Lines        2297     2297              
==========================================
- Hits         1653     1652       -1     
- Misses        644      645       +1     
Impacted Files Coverage Δ
mapit/views/areas.py 72.12% <0.00%> (ø)
mapit/views/postcodes.py 78.37% <0.00%> (ø)
mapit/iterables.py 76.19% <0.00%> (-4.77%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 55c59f2...c447e35. Read the comment docs.