Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(postgres): Adding healtcheck and reconnection mechanism to the postgres archive driver #1997

Merged
merged 1 commit into from
Sep 6, 2023

Commits on Sep 6, 2023

  1. Adding healtcheck and reconnection mechanism to the postgres archive …

    …driver
    
    It starts an asynchronous infinite task that checks the connectivity
    with the database. In case of error, the postgres_healthcheck task
    tries to reconnect for a while, and if it determines that the connection
    cannot be resumed, then it invokes a callback indicating that
    situation. For the case of the `wakunode2` app, this callback
    quits the application itself and adds a log trace indicating
    the connectivity issue with the database.
    Ivansete-status committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    c60f8f5 View commit details
    Browse the repository at this point in the history