diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-10-08 16:20:42 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-10-08 16:20:42 +0000 |
commit | 7e0c1c4306fd99d56320767809d67192a59f8ab9 (patch) | |
tree | 2f775854bf253fa9af31e0a1f486f09e6b4c2d37 /src/include/gnunet_constants.h | |
parent | d824ab7d898f20ac7bd047fad1e5d49494a31f60 (diff) | |
download | gnunet-7e0c1c4306fd99d56320767809d67192a59f8ab9.tar.gz gnunet-7e0c1c4306fd99d56320767809d67192a59f8ab9.zip |
add constant for the delay after which we log warnings
Diffstat (limited to 'src/include/gnunet_constants.h')
-rw-r--r-- | src/include/gnunet_constants.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/gnunet_constants.h b/src/include/gnunet_constants.h index 073130e6d..b0a72c53a 100644 --- a/src/include/gnunet_constants.h +++ b/src/include/gnunet_constants.h | |||
@@ -72,6 +72,11 @@ extern "C" | |||
72 | #define GNUNET_CONSTANTS_MAX_CORK_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 1) | 72 | #define GNUNET_CONSTANTS_MAX_CORK_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 1) |
73 | 73 | ||
74 | /** | 74 | /** |
75 | * After what amount of latency for a message do we print a warning? | ||
76 | */ | ||
77 | #define GNUNET_CONSTANTS_LATENCY_WARN GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 1) | ||
78 | |||
79 | /** | ||
75 | * Until which load do we consider the peer overly idle | 80 | * Until which load do we consider the peer overly idle |
76 | * (which means that we would like to use more resources).<p> | 81 | * (which means that we would like to use more resources).<p> |
77 | * | 82 | * |