From d96c9d244148f2ee984c206b71987ba6df0ec820 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Wed, 8 May 2013 16:53:16 +0000 Subject: - remove application-related option --- src/mesh/gnunet-service-mesh-new.c | 19 ------------------- src/mesh/mesh.conf.in | 1 - 2 files changed, 20 deletions(-) (limited to 'src') 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 @@ -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)) 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 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 -- cgit v1.2.3