aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_constants.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-05-12 15:01:12 +0000
committerChristian Grothoff <christian@grothoff.org>2010-05-12 15:01:12 +0000
commitf28210411388325a1606f1b2c17c196852265016 (patch)
tree013ab690afa9380305fbee4360d8469eec7d970e /src/include/gnunet_constants.h
parentf4c9fdda81d61cc8a8119faf7f624650137b43ee (diff)
downloadgnunet-f28210411388325a1606f1b2c17c196852265016.tar.gz
gnunet-f28210411388325a1606f1b2c17c196852265016.zip
move
Diffstat (limited to 'src/include/gnunet_constants.h')
-rw-r--r--src/include/gnunet_constants.h7
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.).