aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2013-05-08 16:53:16 +0000
committerBart Polot <bart@net.in.tum.de>2013-05-08 16:53:16 +0000
commitd96c9d244148f2ee984c206b71987ba6df0ec820 (patch)
tree19dec763219d603a30500463ff8adfd7308b6270 /src
parentd9a2991164d5cf154466a76e4ab5629643f7e821 (diff)
downloadgnunet-d96c9d244148f2ee984c206b71987ba6df0ec820.tar.gz
gnunet-d96c9d244148f2ee984c206b71987ba6df0ec820.zip
- remove application-related option
Diffstat (limited to 'src')
-rw-r--r--src/mesh/gnunet-service-mesh-new.c19
-rw-r--r--src/mesh/mesh.conf.in1
2 files changed, 0 insertions, 20 deletions
diff --git a/src/mesh/gnunet-service-mesh-new.c b/src/mesh/gnunet-service-mesh-new.c
index 09e5b73ce..04af3288f 100644
--- a/src/mesh/gnunet-service-mesh-new.c
+++ b/src/mesh/gnunet-service-mesh-new.c
@@ -600,11 +600,6 @@ unsigned int debug_bck_ack;
600static struct GNUNET_TIME_Relative refresh_path_time; 600static struct GNUNET_TIME_Relative refresh_path_time;
601 601
602/** 602/**
603 * How often to PUT local application numbers in the DHT.
604 */
605static struct GNUNET_TIME_Relative app_announce_time;
606
607/**
608 * How often to PUT own ID in the DHT. 603 * How often to PUT own ID in the DHT.
609 */ 604 */
610static struct GNUNET_TIME_Relative id_announce_time; 605static struct GNUNET_TIME_Relative id_announce_time;
@@ -6024,20 +6019,6 @@ run (void *cls, struct GNUNET_SERVER_Handle *server,
6024 } 6019 }
6025 6020
6026 if (GNUNET_OK != 6021 if (GNUNET_OK !=
6027 GNUNET_CONFIGURATION_get_value_time (c, "MESH", "APP_ANNOUNCE_TIME",
6028 &app_announce_time))
6029 {
6030 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
6031 _
6032 ("%s service is lacking key configuration settings (%s). Exiting.\n"),
6033 "mesh", "app announce time");
6034 GNUNET_SCHEDULER_shutdown ();
6035 return;
6036 }
6037 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
6038 "APP_ANNOUNCE_TIME %llu ms\n",
6039 app_announce_time.rel_value);
6040 if (GNUNET_OK !=
6041 GNUNET_CONFIGURATION_get_value_time (c, "MESH", "ID_ANNOUNCE_TIME", 6022 GNUNET_CONFIGURATION_get_value_time (c, "MESH", "ID_ANNOUNCE_TIME",
6042 &id_announce_time)) 6023 &id_announce_time))
6043 { 6024 {
diff --git a/src/mesh/mesh.conf.in b/src/mesh/mesh.conf.in
index 9aa8b89cc..c168f8713 100644
--- a/src/mesh/mesh.conf.in
+++ b/src/mesh/mesh.conf.in
@@ -10,7 +10,6 @@ UNIXPATH = /tmp/gnunet-service-mesh.sock
10UNIX_MATCH_UID = YES 10UNIX_MATCH_UID = YES
11UNIX_MATCH_GID = YES 11UNIX_MATCH_GID = YES
12REFRESH_PATH_TIME = 30 min 12REFRESH_PATH_TIME = 30 min
13APP_ANNOUNCE_TIME = 1 h
14ID_ANNOUNCE_TIME = 1 h 13ID_ANNOUNCE_TIME = 1 h
15CONNECT_TIMEOUT = 30 s 14CONNECT_TIMEOUT = 30 s
16DEFAULT_TTL = 64 15DEFAULT_TTL = 64