aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2012-11-14 10:45:14 +0000
committerBart Polot <bart@net.in.tum.de>2012-11-14 10:45:14 +0000
commitcb515930b242a7e33b012a22b227102325a33e0c (patch)
tree1f5e9d9ef6064fc4e273172990796e45e8aa8698
parent1a90a36101407c218e4cb2689a4648da64c0bcb9 (diff)
downloadgnunet-cb515930b242a7e33b012a22b227102325a33e0c.tar.gz
gnunet-cb515930b242a7e33b012a22b227102325a33e0c.zip
- adjust default dht_replication_level
-rw-r--r--src/mesh/gnunet-service-mesh.c4
-rw-r--r--src/mesh/mesh.conf.in2
-rw-r--r--src/mesh/test_mesh.conf2
-rw-r--r--src/mesh/test_mesh_2dtorus.conf3
-rw-r--r--src/mesh/test_mesh_small.conf2
5 files changed, 7 insertions, 6 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c
index 1a7f10e89..a17aaa649 100644
--- a/src/mesh/gnunet-service-mesh.c
+++ b/src/mesh/gnunet-service-mesh.c
@@ -8471,8 +8471,8 @@ run (void *cls, struct GNUNET_SERVER_Handle *server,
8471 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, 8471 GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
8472 _ 8472 _
8473 ("%s service is lacking key configuration settings (%s). Using default (%u).\n"), 8473 ("%s service is lacking key configuration settings (%s). Using default (%u).\n"),
8474 "mesh", "dht replication level", 10); 8474 "mesh", "dht replication level", 3);
8475 dht_replication_level = 10; 8475 dht_replication_level = 3;
8476 } 8476 }
8477 8477
8478 tunnels = GNUNET_CONTAINER_multihashmap_create (32, GNUNET_NO); 8478 tunnels = GNUNET_CONTAINER_multihashmap_create (32, GNUNET_NO);
diff --git a/src/mesh/mesh.conf.in b/src/mesh/mesh.conf.in
index 63208564f..8c82a140b 100644
--- a/src/mesh/mesh.conf.in
+++ b/src/mesh/mesh.conf.in
@@ -14,6 +14,6 @@ APP_ANNOUNCE_TIME = 1 h
14ID_ANNOUNCE_TIME = 1 h 14ID_ANNOUNCE_TIME = 1 h
15CONNECT_TIMEOUT = 30 s 15CONNECT_TIMEOUT = 30 s
16DEFAULT_TTL = 64 16DEFAULT_TTL = 64
17DHT_REPLICATION_LEVEL = 10 17DHT_REPLICATION_LEVEL = 3
18MAX_TUNNELS = 1000 18MAX_TUNNELS = 1000
19MAX_MSGS_QUEUE = 10000 19MAX_MSGS_QUEUE = 10000
diff --git a/src/mesh/test_mesh.conf b/src/mesh/test_mesh.conf
index a7e9680a5..311ede013 100644
--- a/src/mesh/test_mesh.conf
+++ b/src/mesh/test_mesh.conf
@@ -16,7 +16,7 @@ APP_ANNOUNCE_TIME = 5 s
16ID_ANNOUNCE_TIME = 5 s 16ID_ANNOUNCE_TIME = 5 s
17CONNECT_TIMEOUT = 30 s 17CONNECT_TIMEOUT = 30 s
18DEFAULT_TTL = 16 18DEFAULT_TTL = 16
19DHT_REPLICATION_LEVEL = 10 19DHT_REPLICATION_LEVEL = 3
20MAX_TUNNELS = 10 20MAX_TUNNELS = 10
21MAX_MSGS_QUEUE = 20 21MAX_MSGS_QUEUE = 20
22 22
diff --git a/src/mesh/test_mesh_2dtorus.conf b/src/mesh/test_mesh_2dtorus.conf
index 5dea5de80..10589e537 100644
--- a/src/mesh/test_mesh_2dtorus.conf
+++ b/src/mesh/test_mesh_2dtorus.conf
@@ -54,7 +54,8 @@ PORT = 10004
54PORT = 10005 54PORT = 10005
55ACCEPT_FROM = 127.0.0.1; 55ACCEPT_FROM = 127.0.0.1;
56HOSTNAME = localhost 56HOSTNAME = localhost
57# PREFIX = valgrind --leak-check=full 57PREFIX = valgrind --leak-check=full
58DHT_REPLICATION_LEVEL = 10
58# PREFIX = xterm -geometry 100x85 -T peer1 -e gdb --args 59# PREFIX = xterm -geometry 100x85 -T peer1 -e gdb --args
59 60
60[vpn] 61[vpn]
diff --git a/src/mesh/test_mesh_small.conf b/src/mesh/test_mesh_small.conf
index 2020109a6..a2ac213ad 100644
--- a/src/mesh/test_mesh_small.conf
+++ b/src/mesh/test_mesh_small.conf
@@ -10,7 +10,7 @@ APP_ANNOUNCE_TIME = 2 s
10ID_ANNOUNCE_TIME = 2 s 10ID_ANNOUNCE_TIME = 2 s
11CONNECT_TIMEOUT = 30 s 11CONNECT_TIMEOUT = 30 s
12DEFAULT_TTL = 64 12DEFAULT_TTL = 64
13DHT_REPLICAITON_LEVEL = 10 13DHT_REPLICAITON_LEVEL = 3
14# PREFIX = valgrind --leak-check=full --suppressions=valgrind-mesh.supp 14# PREFIX = valgrind --leak-check=full --suppressions=valgrind-mesh.supp
15# PREFIX = xterm -geometry 100x85 -T peer1 -e gdb --args 15# PREFIX = xterm -geometry 100x85 -T peer1 -e gdb --args
16 16