[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: fix zonemaster delay calcul
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: fix zonemaster delay calculation |
Date: |
Sun, 13 May 2018 11:48:42 +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 2e428e6ce fix zonemaster delay calculation
2e428e6ce is described below
commit 2e428e6ce3fcb2b972b27616c784fd788af846de
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun May 13 11:48:27 2018 +0200
fix zonemaster delay calculation
---
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 719a84107..1c8fad700 100644
--- a/src/zonemaster/gnunet-service-zonemaster.c
+++ b/src/zonemaster/gnunet-service-zonemaster.c
@@ -501,6 +501,9 @@ check_zone_namestore_next ()
GNUNET_NO);
delay = GNUNET_TIME_relative_multiply (delay,
NS_BLOCK_SIZE);
+ /* make sure we do not overshoot because of the #NS_BLOCK_SIZE factor */
+ delay = GNUNET_TIME_relative_min (MAXIMUM_ZONE_ITERATION_INTERVAL,
+ delay);
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: fix zonemaster delay calculation,
gnunet <=