aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_constants.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_constants.h')
-rw-r--r--src/include/gnunet_constants.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/gnunet_constants.h b/src/include/gnunet_constants.h
index bb122eb64..eb8addf5f 100644
--- a/src/include/gnunet_constants.h
+++ b/src/include/gnunet_constants.h
@@ -63,6 +63,17 @@ extern "C"
63#define GNUNET_CONSTANTS_SERVICE_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MINUTES, 10) 63#define GNUNET_CONSTANTS_SERVICE_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MINUTES, 10)
64 64
65 65
66/**
67 * Until which load do we consider the peer overly idle
68 * (which means that we would like to use more resources).<p>
69 *
70 * Note that we use 70 to leave some room for applications
71 * to consume resources "idly" (i.e. up to 85%) and then
72 * still have some room for "paid for" resource consumption.
73 */
74#define GNUNET_CONSTANTS_IDLE_LOAD_THRESHOLD 70
75
76
66#if 0 /* keep Emacsens' auto-indent happy */ 77#if 0 /* keep Emacsens' auto-indent happy */
67{ 78{
68#endif 79#endif