[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: -nicer logging
From: |
gnunet |
Subject: |
[gnunet] branch master updated: -nicer logging |
Date: |
Sat, 30 Apr 2022 17:36:14 +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 dee7a241c -nicer logging
dee7a241c is described below
commit dee7a241cc51d04702acab1bc2c28c43d809d729
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Apr 30 17:34:55 2022 +0200
-nicer logging
---
src/pq/pq_event.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/pq/pq_event.c b/src/pq/pq_event.c
index 98a28c317..aff52dd5c 100644
--- a/src/pq/pq_event.c
+++ b/src/pq/pq_event.c
@@ -189,6 +189,7 @@ static void
event_do_poll (struct GNUNET_PQ_Context *db)
{
PGnotify *n;
+ unsigned int cnt = 0;
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"PG poll job active\n");
@@ -210,6 +211,7 @@ event_do_poll (struct GNUNET_PQ_Context *db)
.extra = NULL
};
+ cnt++;
if ('X' != toupper ((int) n->relname[0]))
{
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
@@ -254,6 +256,9 @@ event_do_poll (struct GNUNET_PQ_Context *db)
GNUNET_free (ctx.extra);
PQfreemem (n);
}
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "PG poll job finishes after %u events\n",
+ cnt);
}
--
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: -nicer logging,
gnunet <=