aboutsummaryrefslogtreecommitdiff
path: root/src/cadet/cadet.conf.in
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-01-29 16:24:14 +0100
committerChristian Grothoff <christian@grothoff.org>2017-01-29 16:24:14 +0100
commitf73216a9c9515d444213b6aa7701c5155f071c81 (patch)
tree82008c4d91d0ddf0f0a4424e6b41056550e03a8f /src/cadet/cadet.conf.in
parent271dd457b4b7f42b9353fc94da231a9196ee714a (diff)
downloadgnunet-f73216a9c9515d444213b6aa7701c5155f071c81.tar.gz
gnunet-f73216a9c9515d444213b6aa7701c5155f071c81.zip
implement route timeouts at 3x keepalive frequency
Diffstat (limited to 'src/cadet/cadet.conf.in')
-rw-r--r--src/cadet/cadet.conf.in32
1 files changed, 31 insertions, 1 deletions
diff --git a/src/cadet/cadet.conf.in b/src/cadet/cadet.conf.in
index a6d762786..86ba2e535 100644
--- a/src/cadet/cadet.conf.in
+++ b/src/cadet/cadet.conf.in
@@ -11,13 +11,43 @@ UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-cadet.sock
11UNIX_MATCH_UID = YES 11UNIX_MATCH_UID = YES
12UNIX_MATCH_GID = YES 12UNIX_MATCH_GID = YES
13 13
14
15# How often do we send KEEPALIVE messages on connections to keep them
16# from timing out?
14REFRESH_CONNECTION_TIME = 5 min 17REFRESH_CONNECTION_TIME = 5 min
18
19# Percentage of packets CADET is artificially dropping. Used for testing only!
20# DROP_PERCENT =
21
22# How frequently do we usually anounce our presence in the DHT?
15ID_ANNOUNCE_TIME = 1 h 23ID_ANNOUNCE_TIME = 1 h
24
25# FIXME: document
16CONNECT_TIMEOUT = 30 s 26CONNECT_TIMEOUT = 30 s
27
28# What is the replication level we give to the DHT when announcing our
29# existence? Usually there is no need to change this.
17DHT_REPLICATION_LEVEL = 3 30DHT_REPLICATION_LEVEL = 3
18MAX_TUNNELS = 1000 31
32# FIXME: not implemented
33# MAX_TUNNELS = 1000
34
35# FIXME: not implemented, replaced by MAX_ROUTES in NEW CADET!
19MAX_CONNECTIONS = 1000 36MAX_CONNECTIONS = 1000
37
38# How many routes do we participate in at most? Should be smaller
39# than MAX_MSGS_QUEUE
40MAX_ROUTES = 5000
41
42# FIXME: not implemented
20MAX_MSGS_QUEUE = 10000 43MAX_MSGS_QUEUE = 10000
44
45# FIXME: not implemented
21MAX_PEERS = 1000 46MAX_PEERS = 1000
47
48# How often do we advance the ratchet even if there is not
49# any traffic?
22RATCHET_TIME = 1 h 50RATCHET_TIME = 1 h
51
52# How often do we advance the ratched if there is traffic?
23RATCHET_MESSAGES = 64 53RATCHET_MESSAGES = 64