From: Christian Grothoff Date: Mon, 30 Apr 2018 09:54:01 +0000 (+0200) Subject: increase block sizes X-Git-Tag: v0.11.0pre66~93^2~10^2~9 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=be295f5514e132b170055fd1602c35cbd5cb1623;p=oweals%2Fgnunet.git increase block sizes --- 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);