mirror of https://github.com/waku-org/nwaku.git
1fb13b0967
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. |
||
---|---|---|
.. | ||
confutils/envvar | ||
databases | ||
enr | ||
envvar_serialization | ||
utils | ||
base64.nim | ||
enr.nim | ||
envvar_serialization.nim | ||
hexstrings.nim | ||
logging.nim | ||
nimchronos.nim | ||
protobuf.nim |