aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-09-29 16:19:45 +0000
committerChristian Grothoff <christian@grothoff.org>2013-09-29 16:19:45 +0000
commit48c9f069282012efc9b9a0472697ab4d921a12c7 (patch)
treeff4aa8fed6cbe1bbedb56a9200f57d5b2a4b4c08
parentfe686052f4034949cd53b3c151ae05e078a9ae86 (diff)
downloadgnunet-48c9f069282012efc9b9a0472697ab4d921a12c7.tar.gz
gnunet-48c9f069282012efc9b9a0472697ab4d921a12c7.zip
-eliminate dead option
-rw-r--r--src/gns/gns.conf.in3
-rw-r--r--src/gns/gnunet-service-gns.c16
2 files changed, 0 insertions, 19 deletions
diff --git a/src/gns/gns.conf.in b/src/gns/gns.conf.in
index 91fd822f8..b96ab7b5d 100644
--- a/src/gns/gns.conf.in
+++ b/src/gns/gns.conf.in
@@ -18,9 +18,6 @@ UNIX_MATCH_GID = YES
18# How many queries is GADS allowed to perform in the background at the same time? 18# How many queries is GADS allowed to perform in the background at the same time?
19MAX_PARALLEL_BACKGROUND_QUERIES = 25 19MAX_PARALLEL_BACKGROUND_QUERIES = 25
20 20
21# When do queries fail with timeout?
22DEFAULT_LOOKUP_TIMEOUT = 10 s
23
24# How frequently do we try to publish our full zone? 21# How frequently do we try to publish our full zone?
25ZONE_PUBLISH_TIME_WINDOW = 4 h 22ZONE_PUBLISH_TIME_WINDOW = 4 h
26 23
diff --git a/src/gns/gnunet-service-gns.c b/src/gns/gnunet-service-gns.c
index 26000e9d4..0cf0fca56 100644
--- a/src/gns/gnunet-service-gns.c
+++ b/src/gns/gnunet-service-gns.c
@@ -171,11 +171,6 @@ static GNUNET_SCHEDULER_TaskIdentifier zone_publish_task;
171static int first_zone_iteration; 171static int first_zone_iteration;
172 172
173/** 173/**
174 * The lookup timeout
175 */
176static struct GNUNET_TIME_Relative default_lookup_timeout;
177
178/**
179 * #GNUNET_YES if ipv6 is supported 174 * #GNUNET_YES if ipv6 is supported
180 */ 175 */
181static int v6_enabled; 176static int v6_enabled;
@@ -673,17 +668,6 @@ run (void *cls, struct GNUNET_SERVER_Handle *server,
673 max_parallel_bg_queries); 668 max_parallel_bg_queries);
674 } 669 }
675 670
676 if (GNUNET_OK ==
677 GNUNET_CONFIGURATION_get_value_time (c, "gns",
678 "DEFAULT_LOOKUP_TIMEOUT",
679 &default_lookup_timeout))
680 {
681 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
682 "Default lookup timeout: %s\n",
683 GNUNET_STRINGS_relative_time_to_string (default_lookup_timeout,
684 GNUNET_YES));
685 }
686
687 dht_handle = GNUNET_DHT_connect (c, 671 dht_handle = GNUNET_DHT_connect (c,
688 (unsigned int) max_parallel_bg_queries); 672 (unsigned int) max_parallel_bg_queries);
689 if (NULL == dht_handle) 673 if (NULL == dht_handle)