- remove application-related option
authorBart Polot <bart@net.in.tum.de>
Wed, 8 May 2013 16:53:16 +0000 (16:53 +0000)
committerBart Polot <bart@net.in.tum.de>
Wed, 8 May 2013 16:53:16 +0000 (16:53 +0000)
src/mesh/gnunet-service-mesh-new.c
src/mesh/mesh.conf.in

index 09e5b73ceffac1a67e03e0c70e77ba8e59274775..04af3288f49e4c1cbe621690f9f50729270188c2 100644 (file)
@@ -599,11 +599,6 @@ unsigned int debug_bck_ack;
  */
 static struct GNUNET_TIME_Relative refresh_path_time;
 
-/**
- * How often to PUT local application numbers in the DHT.
- */
-static struct GNUNET_TIME_Relative app_announce_time;
-
 /**
  * How often to PUT own ID in the DHT.
  */
@@ -6023,20 +6018,6 @@ run (void *cls, struct GNUNET_SERVER_Handle *server,
     return;
   }
 
-  if (GNUNET_OK !=
-      GNUNET_CONFIGURATION_get_value_time (c, "MESH", "APP_ANNOUNCE_TIME",
-                                           &app_announce_time))
-  {
-    GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
-                _
-                ("%s service is lacking key configuration settings (%s).  Exiting.\n"),
-                "mesh", "app announce time");
-    GNUNET_SCHEDULER_shutdown ();
-    return;
-  }
-  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
-             "APP_ANNOUNCE_TIME %llu ms\n", 
-             app_announce_time.rel_value);
   if (GNUNET_OK !=
       GNUNET_CONFIGURATION_get_value_time (c, "MESH", "ID_ANNOUNCE_TIME",
                                            &id_announce_time))
index 9aa8b89cc45f5c3323b0e8de97102c41e81d71a8..c168f87133b20dfbafd16030ef5b1952b205373d 100644 (file)
@@ -10,7 +10,6 @@ UNIXPATH = /tmp/gnunet-service-mesh.sock
 UNIX_MATCH_UID = YES
 UNIX_MATCH_GID = YES
 REFRESH_PATH_TIME = 30 min
-APP_ANNOUNCE_TIME = 1 h
 ID_ANNOUNCE_TIME = 1 h
 CONNECT_TIMEOUT = 30 s
 DEFAULT_TTL = 64