[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: -better DB status check
From: |
gnunet |
Subject: |
[gnunet] branch master updated: -better DB status check |
Date: |
Fri, 23 Jul 2021 19:20:35 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 7ef7bdccf -better DB status check
7ef7bdccf is described below
commit 7ef7bdccf14ef6aee7f2116f1bce4c673d20e673
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri Jul 23 19:17:13 2021 +0200
-better DB status check
---
src/pq/pq_connect.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/pq/pq_connect.c b/src/pq/pq_connect.c
index fd73cf0d8..fa8ad86a0 100644
--- a/src/pq/pq_connect.c
+++ b/src/pq/pq_connect.c
@@ -312,6 +312,9 @@ GNUNET_PQ_run_sql (struct GNUNET_PQ_Context *db,
void
GNUNET_PQ_reconnect_if_down (struct GNUNET_PQ_Context *db)
{
+ if (1 ==
+ PQ_consumeInput (db->conn))
+ return;
if (CONNECTION_BAD != PQstatus (db->conn))
return;
GNUNET_PQ_reconnect (db);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: -better DB status check,
gnunet <=