diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-01-29 16:24:14 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-01-29 16:24:14 +0100 |
commit | f73216a9c9515d444213b6aa7701c5155f071c81 (patch) | |
tree | 82008c4d91d0ddf0f0a4424e6b41056550e03a8f /src/cadet/cadet.conf.in | |
parent | 271dd457b4b7f42b9353fc94da231a9196ee714a (diff) | |
download | gnunet-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.in | 32 |
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 | |||
11 | UNIX_MATCH_UID = YES | 11 | UNIX_MATCH_UID = YES |
12 | UNIX_MATCH_GID = YES | 12 | UNIX_MATCH_GID = YES |
13 | 13 | ||
14 | |||
15 | # How often do we send KEEPALIVE messages on connections to keep them | ||
16 | # from timing out? | ||
14 | REFRESH_CONNECTION_TIME = 5 min | 17 | REFRESH_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? | ||
15 | ID_ANNOUNCE_TIME = 1 h | 23 | ID_ANNOUNCE_TIME = 1 h |
24 | |||
25 | # FIXME: document | ||
16 | CONNECT_TIMEOUT = 30 s | 26 | CONNECT_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. | ||
17 | DHT_REPLICATION_LEVEL = 3 | 30 | DHT_REPLICATION_LEVEL = 3 |
18 | MAX_TUNNELS = 1000 | 31 | |
32 | # FIXME: not implemented | ||
33 | # MAX_TUNNELS = 1000 | ||
34 | |||
35 | # FIXME: not implemented, replaced by MAX_ROUTES in NEW CADET! | ||
19 | MAX_CONNECTIONS = 1000 | 36 | MAX_CONNECTIONS = 1000 |
37 | |||
38 | # How many routes do we participate in at most? Should be smaller | ||
39 | # than MAX_MSGS_QUEUE | ||
40 | MAX_ROUTES = 5000 | ||
41 | |||
42 | # FIXME: not implemented | ||
20 | MAX_MSGS_QUEUE = 10000 | 43 | MAX_MSGS_QUEUE = 10000 |
44 | |||
45 | # FIXME: not implemented | ||
21 | MAX_PEERS = 1000 | 46 | MAX_PEERS = 1000 |
47 | |||
48 | # How often do we advance the ratchet even if there is not | ||
49 | # any traffic? | ||
22 | RATCHET_TIME = 1 h | 50 | RATCHET_TIME = 1 h |
51 | |||
52 | # How often do we advance the ratched if there is traffic? | ||
23 | RATCHET_MESSAGES = 64 | 53 | RATCHET_MESSAGES = 64 |