- adjust default dht_replication_level
authorBart Polot <bart@net.in.tum.de>
Wed, 14 Nov 2012 10:45:14 +0000 (10:45 +0000)
committerBart Polot <bart@net.in.tum.de>
Wed, 14 Nov 2012 10:45:14 +0000 (10:45 +0000)
src/mesh/gnunet-service-mesh.c
src/mesh/mesh.conf.in
src/mesh/test_mesh.conf
src/mesh/test_mesh_2dtorus.conf
src/mesh/test_mesh_small.conf

index 1a7f10e89d6614ec297724bc741c200c93dfaa23..a17aaa64904645897fdbd9f1c1ffac43c04be48d 100644 (file)
@@ -8471,8 +8471,8 @@ run (void *cls, struct GNUNET_SERVER_Handle *server,
     GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
                 _
                 ("%s service is lacking key configuration settings (%s). Using default (%u).\n"),
-                "mesh", "dht replication level", 10);
-    dht_replication_level = 10;
+                "mesh", "dht replication level", 3);
+    dht_replication_level = 3;
   }
 
   tunnels = GNUNET_CONTAINER_multihashmap_create (32, GNUNET_NO);
index 63208564f4a3db4f14149e0955ec5be4d922d04f..8c82a140bd541c1bc9b248ccac5b534363ddf18e 100644 (file)
@@ -14,6 +14,6 @@ APP_ANNOUNCE_TIME = 1 h
 ID_ANNOUNCE_TIME = 1 h
 CONNECT_TIMEOUT = 30 s
 DEFAULT_TTL = 64
-DHT_REPLICATION_LEVEL = 10
+DHT_REPLICATION_LEVEL = 3
 MAX_TUNNELS = 1000
 MAX_MSGS_QUEUE = 10000
index a7e9680a505f2b8b1b06426bdf41914182534423..311ede01383b4d41b5f62a8b2d2c319853bfc3ee 100644 (file)
@@ -16,7 +16,7 @@ APP_ANNOUNCE_TIME = 5 s
 ID_ANNOUNCE_TIME = 5 s
 CONNECT_TIMEOUT = 30 s
 DEFAULT_TTL = 16
-DHT_REPLICATION_LEVEL = 10
+DHT_REPLICATION_LEVEL = 3
 MAX_TUNNELS = 10
 MAX_MSGS_QUEUE = 20
 
index 5dea5de808f7626140ab8f7e8077cb428387758e..10589e537208938973ad8dd78c2d94e902f9e922 100644 (file)
@@ -54,7 +54,8 @@ PORT = 10004
 PORT = 10005
 ACCEPT_FROM = 127.0.0.1;
 HOSTNAME = localhost
-# PREFIX = valgrind --leak-check=full
+PREFIX = valgrind --leak-check=full
+DHT_REPLICATION_LEVEL = 10
 # PREFIX = xterm -geometry 100x85 -T peer1 -e gdb --args
 
 [vpn]
index 2020109a662ff547420113349f4ef8febd3169f2..a2ac213adcd3cd592373df419d59c267f1365f58 100644 (file)
@@ -10,7 +10,7 @@ APP_ANNOUNCE_TIME = 2 s
 ID_ANNOUNCE_TIME = 2 s
 CONNECT_TIMEOUT = 30 s
 DEFAULT_TTL = 64
-DHT_REPLICAITON_LEVEL = 10
+DHT_REPLICAITON_LEVEL = 3
 # PREFIX = valgrind --leak-check=full --suppressions=valgrind-mesh.supp
 # PREFIX = xterm -geometry 100x85 -T peer1 -e gdb --args