aboutsummaryrefslogtreecommitdiff
path: root/src/zonemaster
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-04-30 11:54:01 +0200
committerChristian Grothoff <christian@grothoff.org>2018-04-30 11:54:01 +0200
commitbe295f5514e132b170055fd1602c35cbd5cb1623 (patch)
treec4fc866655471680f18d32135eb2b33e143ebb08 /src/zonemaster
parent5d9d356c1426eb6f1b1e5b9f12b28d6a9faf410f (diff)
downloadgnunet-be295f5514e132b170055fd1602c35cbd5cb1623.tar.gz
gnunet-be295f5514e132b170055fd1602c35cbd5cb1623.zip
increase block sizes
Diffstat (limited to 'src/zonemaster')
-rw-r--r--src/zonemaster/gnunet-service-zonemaster.c11
1 files 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 @@
41 * iteration speed and actual speed, and tell statistics 41 * iteration speed and actual speed, and tell statistics
42 * service about it? 42 * service about it?
43 */ 43 */
44#define DELTA_INTERVAL 100 44#define DELTA_INTERVAL 1000
45 45
46/** 46/**
47 * How many records do we fetch 47 * How many records do we fetch in one shot from the namestore?
48 * in one shot from the namestore?
49 */ 48 */
50#define NS_BLOCK_SIZE 100 49#define NS_BLOCK_SIZE 1000
51 50
52/** 51/**
53 * How many pending DHT operations do we allow at most? 52 * How many pending DHT operations do we allow at most?
54 */ 53 */
55#define DHT_QUEUE_LIMIT 1000 54#define DHT_QUEUE_LIMIT 2000
56 55
57/** 56/**
58 * The initial interval in milliseconds btween puts in 57 * The initial interval in milliseconds btween puts in
@@ -382,7 +381,7 @@ check_zone_namestore_next ()
382{ 381{
383 struct GNUNET_TIME_Relative delay; 382 struct GNUNET_TIME_Relative delay;
384 383
385 if (0 != ns_iteration_left) 384 if (0 != > ns_iteration_left)
386 return; /* current NAMESTORE iteration not yet done */ 385 return; /* current NAMESTORE iteration not yet done */
387 delay = GNUNET_TIME_relative_subtract (next_put_interval, 386 delay = GNUNET_TIME_relative_subtract (next_put_interval,
388 sub_delta); 387 sub_delta);