aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/pg_insert_kyc_attributes.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-06-23 11:41:52 +0200
committerChristian Grothoff <christian@grothoff.org>2023-06-23 11:41:52 +0200
commitd25dc8b0adb8fa606e8f97185984a623c52819cd (patch)
treed44d8c3f0c62544c653a7d299c029132913eb2c7 /src/exchangedb/pg_insert_kyc_attributes.c
parent720783b66a08a14624f30e8063daf64d25ce3e4c (diff)
fix #7870
Diffstat (limited to 'src/exchangedb/pg_insert_kyc_attributes.c')
-rw-r--r--src/exchangedb/pg_insert_kyc_attributes.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/exchangedb/pg_insert_kyc_attributes.c b/src/exchangedb/pg_insert_kyc_attributes.c
index 361f491e..e3c246e5 100644
--- a/src/exchangedb/pg_insert_kyc_attributes.c
+++ b/src/exchangedb/pg_insert_kyc_attributes.c
@@ -25,6 +25,9 @@
#include "pg_insert_kyc_attributes.h"
#include "pg_helper.h"
+void
+event_do_poll (struct GNUNET_PQ_Context *db);
+
enum GNUNET_DB_QueryStatus
TEH_PG_insert_kyc_attributes (
@@ -81,6 +84,9 @@ TEH_PG_insert_kyc_attributes (
};
enum GNUNET_DB_QueryStatus qs;
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Inserting KYC attributes, wake up on %s\n",
+ kyc_completed_notify_s);
PREPARE (pg,
"insert_kyc_attributes",
"SELECT "
@@ -92,6 +98,8 @@ TEH_PG_insert_kyc_attributes (
params,
rs);
GNUNET_free (kyc_completed_notify_s);
+ GNUNET_PQ_event_do_poll (pg->conn);
+
if (qs < 0)
return qs;
if (! ok)