gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r27073 - gnunet/src/mesh


From: gnunet
Subject: [GNUnet-SVN] r27073 - gnunet/src/mesh
Date: Wed, 8 May 2013 18:53:16 +0200

Author: bartpolot
Date: 2013-05-08 18:53:16 +0200 (Wed, 08 May 2013)
New Revision: 27073

Modified:
   gnunet/src/mesh/gnunet-service-mesh-new.c
   gnunet/src/mesh/mesh.conf.in
Log:
- remove application-related option

Modified: gnunet/src/mesh/gnunet-service-mesh-new.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh-new.c   2013-05-08 16:51:49 UTC (rev 
27072)
+++ gnunet/src/mesh/gnunet-service-mesh-new.c   2013-05-08 16:53:16 UTC (rev 
27073)
@@ -600,11 +600,6 @@
 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.
  */
 static struct GNUNET_TIME_Relative id_announce_time;
@@ -6024,20 +6019,6 @@
   }
 
   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))
   {

Modified: gnunet/src/mesh/mesh.conf.in
===================================================================
--- gnunet/src/mesh/mesh.conf.in        2013-05-08 16:51:49 UTC (rev 27072)
+++ gnunet/src/mesh/mesh.conf.in        2013-05-08 16:53:16 UTC (rev 27073)
@@ -10,7 +10,6 @@
 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




reply via email to

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