diff options
author | Bart Polot <bart@net.in.tum.de> | 2012-11-14 10:45:14 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2012-11-14 10:45:14 +0000 |
commit | cb515930b242a7e33b012a22b227102325a33e0c (patch) | |
tree | 1f5e9d9ef6064fc4e273172990796e45e8aa8698 | |
parent | 1a90a36101407c218e4cb2689a4648da64c0bcb9 (diff) | |
download | gnunet-cb515930b242a7e33b012a22b227102325a33e0c.tar.gz gnunet-cb515930b242a7e33b012a22b227102325a33e0c.zip |
- adjust default dht_replication_level
-rw-r--r-- | src/mesh/gnunet-service-mesh.c | 4 | ||||
-rw-r--r-- | src/mesh/mesh.conf.in | 2 | ||||
-rw-r--r-- | src/mesh/test_mesh.conf | 2 | ||||
-rw-r--r-- | src/mesh/test_mesh_2dtorus.conf | 3 | ||||
-rw-r--r-- | src/mesh/test_mesh_small.conf | 2 |
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 | |||
14 | ID_ANNOUNCE_TIME = 1 h | 14 | ID_ANNOUNCE_TIME = 1 h |
15 | CONNECT_TIMEOUT = 30 s | 15 | CONNECT_TIMEOUT = 30 s |
16 | DEFAULT_TTL = 64 | 16 | DEFAULT_TTL = 64 |
17 | DHT_REPLICATION_LEVEL = 10 | 17 | DHT_REPLICATION_LEVEL = 3 |
18 | MAX_TUNNELS = 1000 | 18 | MAX_TUNNELS = 1000 |
19 | MAX_MSGS_QUEUE = 10000 | 19 | MAX_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 | |||
16 | ID_ANNOUNCE_TIME = 5 s | 16 | ID_ANNOUNCE_TIME = 5 s |
17 | CONNECT_TIMEOUT = 30 s | 17 | CONNECT_TIMEOUT = 30 s |
18 | DEFAULT_TTL = 16 | 18 | DEFAULT_TTL = 16 |
19 | DHT_REPLICATION_LEVEL = 10 | 19 | DHT_REPLICATION_LEVEL = 3 |
20 | MAX_TUNNELS = 10 | 20 | MAX_TUNNELS = 10 |
21 | MAX_MSGS_QUEUE = 20 | 21 | MAX_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 | |||
54 | PORT = 10005 | 54 | PORT = 10005 |
55 | ACCEPT_FROM = 127.0.0.1; | 55 | ACCEPT_FROM = 127.0.0.1; |
56 | HOSTNAME = localhost | 56 | HOSTNAME = localhost |
57 | # PREFIX = valgrind --leak-check=full | 57 | PREFIX = valgrind --leak-check=full |
58 | DHT_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 | |||
10 | ID_ANNOUNCE_TIME = 2 s | 10 | ID_ANNOUNCE_TIME = 2 s |
11 | CONNECT_TIMEOUT = 30 s | 11 | CONNECT_TIMEOUT = 30 s |
12 | DEFAULT_TTL = 64 | 12 | DEFAULT_TTL = 64 |
13 | DHT_REPLICAITON_LEVEL = 10 | 13 | DHT_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 | ||