From be295f5514e132b170055fd1602c35cbd5cb1623 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 30 Apr 2018 11:54:01 +0200 Subject: [PATCH] increase block sizes --- src/zonemaster/gnunet-service-zonemaster.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/zonemaster/gnunet-service-zonemaster.c b/src/zonemaster/gnunet-service-zonemaster.c index 0f7e9f547..6e39ef3d7 100644 --- a/src/zonemaster/gnunet-service-zonemaster.c +++ b/src/zonemaster/gnunet-service-zonemaster.c @@ -41,18 +41,17 @@ * iteration speed and actual speed, and tell statistics * service about it? */ -#define DELTA_INTERVAL 100 +#define DELTA_INTERVAL 1000 /** - * How many records do we fetch - * in one shot from the namestore? + * How many records do we fetch in one shot from the namestore? */ -#define NS_BLOCK_SIZE 100 +#define NS_BLOCK_SIZE 1000 /** * How many pending DHT operations do we allow at most? */ -#define DHT_QUEUE_LIMIT 1000 +#define DHT_QUEUE_LIMIT 2000 /** * The initial interval in milliseconds btween puts in @@ -382,7 +381,7 @@ check_zone_namestore_next () { struct GNUNET_TIME_Relative delay; - if (0 != ns_iteration_left) + if (0 != > ns_iteration_left) return; /* current NAMESTORE iteration not yet done */ delay = GNUNET_TIME_relative_subtract (next_put_interval, sub_delta); -- 2.25.1