aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_constants.h
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2011-02-03 16:04:53 +0000
committerNathan S. Evans <evans@in.tum.de>2011-02-03 16:04:53 +0000
commitd212b98f15bc7950985da14b2768264fc6492a5c (patch)
tree0dff40887da18fb06fb0dd391f66920515c61a67 /src/include/gnunet_constants.h
parent6ad2820face26ee352e020ddbcc8fb1ed5484bdd (diff)
downloadgnunet-d212b98f15bc7950985da14b2768264fc6492a5c.tar.gz
gnunet-d212b98f15bc7950985da14b2768264fc6492a5c.zip
gauger name
Diffstat (limited to 'src/include/gnunet_constants.h')
-rw-r--r--src/include/gnunet_constants.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/gnunet_constants.h b/src/include/gnunet_constants.h
index 56a868e2e..a0951b055 100644
--- a/src/include/gnunet_constants.h
+++ b/src/include/gnunet_constants.h
@@ -49,13 +49,13 @@ extern "C"
49 * After how long do we consider a connection to a peer dead 49 * After how long do we consider a connection to a peer dead
50 * if we don't receive messages from the peer? 50 * if we don't receive messages from the peer?
51 */ 51 */
52#define GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MINUTES, 5) 52#define GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MINUTES, 3)
53 53
54/** 54/**
55 * After how long do we consider a connection to a peer dead 55 * After how long do we consider a connection to a peer dead
56 * if we got an explicit disconnect and were unable to reconnect? 56 * if we got an explicit disconnect and were unable to reconnect?
57 */ 57 */
58#define GNUNET_CONSTANTS_DISCONNECT_SESSION_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5) 58#define GNUNET_CONSTANTS_DISCONNECT_SESSION_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 3)
59 59
60/** 60/**
61 * How long do we delay reading more from a peer after a quota violation? 61 * How long do we delay reading more from a peer after a quota violation?
@@ -76,7 +76,7 @@ extern "C"
76#define GNUNET_CONSTANTS_SERVICE_RETRY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MILLISECONDS, 500) 76#define GNUNET_CONSTANTS_SERVICE_RETRY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MILLISECONDS, 500)
77 77
78/** 78/**
79 * After how long do we consider a service irresponsive 79 * After how long do we consider a service unresponsive
80 * even if we assume that the service commonly does not 80 * even if we assume that the service commonly does not
81 * respond instantly (DNS, Database, etc.). 81 * respond instantly (DNS, Database, etc.).
82 */ 82 */
@@ -85,7 +85,7 @@ extern "C"
85/** 85/**
86 * How long do we delay messages to get larger packet sizes (CORKing)? 86 * How long do we delay messages to get larger packet sizes (CORKing)?
87 */ 87 */
88#define GNUNET_CONSTANTS_MAX_CORK_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 1) 88#define GNUNET_CONSTANTS_MAX_CORK_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MILLISECONDS, 10)
89 89
90/** 90/**
91 * Until which load do we consider the peer overly idle 91 * Until which load do we consider the peer overly idle