nwaku/waku/common/databases/db_postgres
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
..
dbconn.nim refactor(databases): Creation of the databases folder to keep the logic for sqlite and postgres (#1811) 2023-06-22 11:27:40 +02:00
pgasyncpool.nim Adding healtcheck and reconnection mechanism to the postgres archive driver (#1997) 2023-09-06 19:16:37 +02:00