commit 833801537281c004789aa284ef2aa0459dd20431
parent 42878de10111a31a1f4294eb76a4f3d34377baef
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 4 May 2025 09:46:30 +0200
reconnect connection if down in preflight check
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/challengerdb/plugin_challengerdb_postgres.c b/src/challengerdb/plugin_challengerdb_postgres.c
@@ -177,6 +177,7 @@ postgres_preflight (void *cls)
return GNUNET_SYSERR;
}
}
+ GNUNET_PQ_reconnect_if_down (pg->conn);
if (NULL == pg->transaction_name)
return GNUNET_OK; /* all good */
if (GNUNET_OK ==