diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-09-14 07:28:56 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-09-14 07:28:56 +0000 |
commit | 2539b4aa84fa51da71cf51c9fd9ac1a7668f27b3 (patch) | |
tree | 6af6717a63287de6ebdce13be05c90d05925e8e8 /src/include/gnunet_constants.h | |
parent | 4f9c5b5e32036640242214989009a249771bc537 (diff) | |
download | gnunet-2539b4aa84fa51da71cf51c9fd9ac1a7668f27b3.tar.gz gnunet-2539b4aa84fa51da71cf51c9fd9ac1a7668f27b3.zip |
fs hacking
Diffstat (limited to 'src/include/gnunet_constants.h')
-rw-r--r-- | src/include/gnunet_constants.h | 11 |
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 |