diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-07-10 11:57:16 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-07-10 11:57:16 +0000 |
commit | 24e2461fbd550593fabffc2044ca0a7cbcc771ca (patch) | |
tree | 62f1e836707bea9f500a65fa47b61d25f129cba9 /src/include/gnunet_constants.h | |
parent | 9ff73e44df758011ef4242c1142f02f9b4da3709 (diff) | |
download | gnunet-24e2461fbd550593fabffc2044ca0a7cbcc771ca.tar.gz gnunet-24e2461fbd550593fabffc2044ca0a7cbcc771ca.zip |
- simplified MESH client<->service API as per suggestions in bug #2934
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 3a80c26be..99dd5bfcf 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_MINUTES, 5) | 52 | #define GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_YEARS, 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_MINUTES, 10) | 64 | #define GNUNET_CONSTANTS_SERVICE_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_YEARS, 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)? |