ohsome-api icon indicating copy to clipboard operation
ohsome-api copied to clipboard

Adding behavior on failure of db-connection

Open FabiKo117 opened this issue 4 years ago • 1 comments

Currently, the ohsome API reaches an undesired state when the connection to the (keytables) database is broken.

It should instead try to reconnect to the database and shutdown in case the reconnection fails after a time threshold. This should be triggered when a new request comes in. The request should then get a response like "Cluster currently unavailable - please try again in some minutes."

FabiKo117 avatar Aug 26 '20 09:08 FabiKo117

related: #167

FabiKo117 avatar Mar 31 '21 08:03 FabiKo117