cat_gateway::db::index::session

Function retry_init

source
async fn retry_init(cfg: EnvVars, persistent: bool)
Expand description

Continuously try and init the DB, if it fails, backoff.

Display reasonable logs to help diagnose DB connection issues.