diff options
Diffstat (limited to 'src/include/gnunet_constants.h')
-rw-r--r-- | src/include/gnunet_constants.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/gnunet_constants.h b/src/include/gnunet_constants.h index b8e280d4e..5c8749ed0 100644 --- a/src/include/gnunet_constants.h +++ b/src/include/gnunet_constants.h | |||
@@ -63,6 +63,13 @@ extern "C" | |||
63 | #define GNUNET_CONSTANTS_EXEC_WAIT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MILLISECONDS, 200) | 63 | #define GNUNET_CONSTANTS_EXEC_WAIT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MILLISECONDS, 200) |
64 | 64 | ||
65 | /** | 65 | /** |
66 | * After how long do we retry a service connection that was | ||
67 | * unavailable? Used in cases where an exponential back-off | ||
68 | * seems inappropriate. | ||
69 | */ | ||
70 | #define GNUNET_CONSTANTS_SERVICE_RETRY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MILLISECONDS, 500) | ||
71 | |||
72 | /** | ||
66 | * After how long do we consider a service irresponsive | 73 | * After how long do we consider a service irresponsive |
67 | * even if we assume that the service commonly does not | 74 | * even if we assume that the service commonly does not |
68 | * respond instantly (DNS, Database, etc.). | 75 | * respond instantly (DNS, Database, etc.). |