[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: -wake clients if we have 0 dks
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: -wake clients if we have 0 dks |
Date: |
Mon, 07 Feb 2022 15:40:23 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new a5b82449 -wake clients if we have 0 dks
a5b82449 is described below
commit a5b824494858d2cb406b17616f3215f012b1392f
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Feb 7 15:40:21 2022 +0100
-wake clients if we have 0 dks
---
src/exchange/taler-exchange-httpd_keys.c | 2 ++
src/util/taler-exchange-secmod-cs.c | 7 ++++---
src/util/taler-exchange-secmod-rsa.c | 1 +
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/exchange/taler-exchange-httpd_keys.c
b/src/exchange/taler-exchange-httpd_keys.c
index d9c64104..7e0a27ac 100644
--- a/src/exchange/taler-exchange-httpd_keys.c
+++ b/src/exchange/taler-exchange-httpd_keys.c
@@ -874,6 +874,7 @@ helper_rsa_cb (
GNUNET_STRINGS_relative_time_to_string (validity_duration,
GNUNET_NO));
key_generation++;
+ // FIXME: wait for sync?
TEH_resume_keys_requests (false);
hd = GNUNET_CONTAINER_multihashmap_get (hs->rsa_keys,
&h_rsa->hash);
@@ -955,6 +956,7 @@ helper_cs_cb (
GNUNET_STRINGS_relative_time_to_string (validity_duration,
GNUNET_NO));
key_generation++;
+ // FIXME: wait for sync?
TEH_resume_keys_requests (false);
hd = GNUNET_CONTAINER_multihashmap_get (hs->cs_keys,
&h_cs->hash);
diff --git a/src/util/taler-exchange-secmod-cs.c
b/src/util/taler-exchange-secmod-cs.c
index 139b0b9d..4e7b7d1b 100644
--- a/src/util/taler-exchange-secmod-cs.c
+++ b/src/util/taler-exchange-secmod-cs.c
@@ -1495,9 +1495,9 @@ run (void *cls,
const struct GNUNET_CONFIGURATION_Handle *cfg)
{
static struct TES_Callbacks cb = {
- .dispatch = cs_work_dispatch,
- .updater = cs_update_client_keys,
- .init = cs_client_init
+ .dispatch = &cs_work_dispatch,
+ .updater = &cs_update_client_keys,
+ .init = &cs_client_init
};
(void) cls;
@@ -1564,6 +1564,7 @@ run (void *cls,
{
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
"No CS denominations configured\n");
+ TES_wake_clients ();
return;
}
/* start job to keep keys up-to-date; MUST be run before the #listen_task,
diff --git a/src/util/taler-exchange-secmod-rsa.c
b/src/util/taler-exchange-secmod-rsa.c
index 6d9ee5db..ba6ee978 100644
--- a/src/util/taler-exchange-secmod-rsa.c
+++ b/src/util/taler-exchange-secmod-rsa.c
@@ -1542,6 +1542,7 @@ run (void *cls,
{
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
"No RSA denominations configured\n");
+ TES_wake_clients ();
return;
}
/* start job to keep keys up-to-date; MUST be run before the #listen_task,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: -wake clients if we have 0 dks,
gnunet <=