diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-07-10 11:58:22 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-07-10 11:58:22 +0000 |
commit | ae400b5a535a1aaeee112288fd18da9a1e0b128e (patch) | |
tree | 1d5bf1d73845abeae593c311e06c0826663eea0c /src/include/gnunet_constants.h | |
parent | 24e2461fbd550593fabffc2044ca0a7cbcc771ca (diff) | |
download | gnunet-ae400b5a535a1aaeee112288fd18da9a1e0b128e.tar.gz gnunet-ae400b5a535a1aaeee112288fd18da9a1e0b128e.zip |
- rollback
Diffstat (limited to 'src/include/gnunet_constants.h')
-rw-r--r-- | src/include/gnunet_constants.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/gnunet_constants.h b/src/include/gnunet_constants.h index 99dd5bfcf..3a80c26be 100644 --- a/src/include/gnunet_constants.h +++ b/src/include/gnunet_constants.h | |||
@@ -49,7 +49,7 @@ 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_YEARS, 5) | 52 | #define GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MINUTES, 5) |
53 | 53 | ||
54 | /** | 54 | /** |
55 | * How long do we delay reading more from a peer after a quota violation? | 55 | * How long do we delay reading more from a peer after a quota violation? |
@@ -61,7 +61,7 @@ extern "C" | |||
61 | * even if we assume that the service commonly does not | 61 | * even if we assume that the service commonly does not |
62 | * respond instantly (DNS, Database, etc.). | 62 | * respond instantly (DNS, Database, etc.). |
63 | */ | 63 | */ |
64 | #define GNUNET_CONSTANTS_SERVICE_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_YEARS, 10) | 64 | #define GNUNET_CONSTANTS_SERVICE_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MINUTES, 10) |
65 | 65 | ||
66 | /** | 66 | /** |
67 | * How long do we delay messages to get larger packet sizes (CORKing)? | 67 | * How long do we delay messages to get larger packet sizes (CORKing)? |