diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-03-15 14:22:47 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-03-15 14:22:47 +0000 |
commit | 2f00597a249bd5a3feaf10c93a1c77a05ed46813 (patch) | |
tree | bfbb6735d48b096dff4234d32c9becf341a9e272 /src/statistics/statistics_api.c | |
parent | 787467e80c257b2c890c3ce39cdf6eecfe4af512 (diff) | |
download | gnunet-2f00597a249bd5a3feaf10c93a1c77a05ed46813.tar.gz gnunet-2f00597a249bd5a3feaf10c93a1c77a05ed46813.zip |
fixing shutdown timeout issue
Diffstat (limited to 'src/statistics/statistics_api.c')
-rw-r--r-- | src/statistics/statistics_api.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/statistics/statistics_api.c b/src/statistics/statistics_api.c index c8a341b0c..5c5588e91 100644 --- a/src/statistics/statistics_api.c +++ b/src/statistics/statistics_api.c | |||
@@ -32,7 +32,12 @@ | |||
32 | #include "gnunet_strings_lib.h" | 32 | #include "gnunet_strings_lib.h" |
33 | #include "statistics.h" | 33 | #include "statistics.h" |
34 | 34 | ||
35 | #define SET_TRANSMIT_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 30) | 35 | /** |
36 | * How long do we wait until a statistics request for setting | ||
37 | * a value times out? (The update will be lost if the | ||
38 | * service does not react within this timeframe). | ||
39 | */ | ||
40 | #define SET_TRANSMIT_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MILLISECONDS, 250) | ||
36 | 41 | ||
37 | 42 | ||
38 | /** | 43 | /** |