diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-05-08 16:53:16 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-05-08 16:53:16 +0000 |
commit | d96c9d244148f2ee984c206b71987ba6df0ec820 (patch) | |
tree | 19dec763219d603a30500463ff8adfd7308b6270 /src | |
parent | d9a2991164d5cf154466a76e4ab5629643f7e821 (diff) | |
download | gnunet-d96c9d244148f2ee984c206b71987ba6df0ec820.tar.gz gnunet-d96c9d244148f2ee984c206b71987ba6df0ec820.zip |
- remove application-related option
Diffstat (limited to 'src')
-rw-r--r-- | src/mesh/gnunet-service-mesh-new.c | 19 | ||||
-rw-r--r-- | src/mesh/mesh.conf.in | 1 |
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; | |||
600 | static struct GNUNET_TIME_Relative refresh_path_time; | 600 | static struct GNUNET_TIME_Relative refresh_path_time; |
601 | 601 | ||
602 | /** | 602 | /** |
603 | * How often to PUT local application numbers in the DHT. | ||
604 | */ | ||
605 | static 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 | */ |
610 | static struct GNUNET_TIME_Relative id_announce_time; | 605 | static 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 | |||
10 | UNIX_MATCH_UID = YES | 10 | UNIX_MATCH_UID = YES |
11 | UNIX_MATCH_GID = YES | 11 | UNIX_MATCH_GID = YES |
12 | REFRESH_PATH_TIME = 30 min | 12 | REFRESH_PATH_TIME = 30 min |
13 | APP_ANNOUNCE_TIME = 1 h | ||
14 | ID_ANNOUNCE_TIME = 1 h | 13 | ID_ANNOUNCE_TIME = 1 h |
15 | CONNECT_TIMEOUT = 30 s | 14 | CONNECT_TIMEOUT = 30 s |
16 | DEFAULT_TTL = 64 | 15 | DEFAULT_TTL = 64 |