nwaku/waku/common/databases
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
..
db_postgres Adding healtcheck and reconnection mechanism to the postgres archive driver (#1997) 2023-09-06 19:16:37 +02:00
common.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
db_postgres.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
db_sqlite.nim refactor(archive): Moving waku archive logic from app.nim to the archive module (#1817) 2023-06-27 13:24:31 +02:00
dburl.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