gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r29689 - gnunet/src/gns


From: gnunet
Subject: [GNUnet-SVN] r29689 - gnunet/src/gns
Date: Sun, 29 Sep 2013 18:19:45 +0200

Author: grothoff
Date: 2013-09-29 18:19:45 +0200 (Sun, 29 Sep 2013)
New Revision: 29689

Modified:
   gnunet/src/gns/gns.conf.in
   gnunet/src/gns/gnunet-service-gns.c
Log:
-eliminate dead option

Modified: gnunet/src/gns/gns.conf.in
===================================================================
--- gnunet/src/gns/gns.conf.in  2013-09-29 16:19:14 UTC (rev 29688)
+++ gnunet/src/gns/gns.conf.in  2013-09-29 16:19:45 UTC (rev 29689)
@@ -18,9 +18,6 @@
 # How many queries is GADS allowed to perform in the background at the same 
time?
 MAX_PARALLEL_BACKGROUND_QUERIES = 25
 
-# When do queries fail with timeout?
-DEFAULT_LOOKUP_TIMEOUT = 10 s
-
 # How frequently do we try to publish our full zone?
 ZONE_PUBLISH_TIME_WINDOW = 4 h
 

Modified: gnunet/src/gns/gnunet-service-gns.c
===================================================================
--- gnunet/src/gns/gnunet-service-gns.c 2013-09-29 16:19:14 UTC (rev 29688)
+++ gnunet/src/gns/gnunet-service-gns.c 2013-09-29 16:19:45 UTC (rev 29689)
@@ -171,11 +171,6 @@
 static int first_zone_iteration;
 
 /**
- * The lookup timeout
- */
-static struct GNUNET_TIME_Relative default_lookup_timeout;
-
-/**
  * #GNUNET_YES if ipv6 is supported
  */
 static int v6_enabled;
@@ -673,17 +668,6 @@
                max_parallel_bg_queries);
   }
 
-  if (GNUNET_OK ==
-      GNUNET_CONFIGURATION_get_value_time (c, "gns",
-                                          "DEFAULT_LOOKUP_TIMEOUT",
-                                          &default_lookup_timeout))
-  {
-    GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
-               "Default lookup timeout: %s\n",
-               GNUNET_STRINGS_relative_time_to_string (default_lookup_timeout,
-                                                       GNUNET_YES));
-  }
-  
   dht_handle = GNUNET_DHT_connect (c,
                                   (unsigned int) max_parallel_bg_queries);
   if (NULL == dht_handle)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]