nwaku/waku/waku_archive/driver/postgres_driver
Ivan Folgueira Bande 1fb13b0967
Adding healtcheck and reconnection mechanism to the postgres archive driver (#1997)
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.
2023-09-06 19:16:37 +02:00
..
postgres_driver.nim Adding healtcheck and reconnection mechanism to the postgres archive driver (#1997) 2023-09-06 19:16:37 +02:00
postgres_healthcheck.nim Adding healtcheck and reconnection mechanism to the postgres archive driver (#1997) 2023-09-06 19:16:37 +02:00