-wake clients if we have 0 dks
This commit is contained in:
parent
271711ae64
commit
a5b8244948
@ -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);
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user