Skip to content

Adding behavior on failure of db-connection #37

@FabiKo117

Description

@FabiKo117

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."

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions