Skip to content

Add cooldown period after pool disposal to make sure SQL server recovers

Description

This MR adds a short cooldown period (configurable in settings.py) for when we dispose the postgres connection pool due to connectivity issues (e.g. AdminShutdown commands when the primary machine in a Postgres cluster is switching) to make sure we hold off issuing further SQL commands until we have enough confidence we can reach out to the sql server.

Merge request reports