[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: no delays during first iter
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: no delays during first iteration |
Date: |
Sun, 13 May 2018 11:50:48 +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 1828e4983 no delays during first iteration
1828e4983 is described below
commit 1828e49836886f5647b6614a1521b6073351dad1
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun May 13 11:50:47 2018 +0200
no delays during first iteration
---
src/zonemaster/gnunet-service-zonemaster.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/zonemaster/gnunet-service-zonemaster.c
b/src/zonemaster/gnunet-service-zonemaster.c
index 1c8fad700..04fd1d7de 100644
--- a/src/zonemaster/gnunet-service-zonemaster.c
+++ b/src/zonemaster/gnunet-service-zonemaster.c
@@ -504,6 +504,9 @@ check_zone_namestore_next ()
/* make sure we do not overshoot because of the #NS_BLOCK_SIZE factor */
delay = GNUNET_TIME_relative_min (MAXIMUM_ZONE_ITERATION_INTERVAL,
delay);
+ /* no delays on first iteration */
+ if (GNUNET_YES == first_zone_iteration)
+ delay = GNUNET_TIME_UNIT_ZERO;
GNUNET_assert (NULL == zone_publish_task);
zone_publish_task = GNUNET_SCHEDULER_add_delayed (delay,
&publish_zone_namestore_next,
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: no delays during first iteration,
gnunet <=