diff options
author | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2010-03-15 14:22:47 +0000 |
---|---|---|
committer | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2010-03-15 14:22:47 +0000 |
commit | 5392cac5fe6dc7a691b21d2bb95ce91da717fcd9 (patch) | |
tree | bfbb6735d48b096dff4234d32c9becf341a9e272 /src/statistics | |
parent | 8db17532a223c55da653aaa581455a71b4445933 (diff) |
fixing shutdown timeout issue
git-svn-id: https://gnunet.org/svn/gnunet@10603 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/statistics')
-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 c8a341b0c8..5c5588e918 100644 --- a/src/statistics/statistics_api.c +++ b/src/statistics/statistics_api.c @@ -32,7 +32,12 @@ #include "gnunet_strings_lib.h" #include "statistics.h" -#define SET_TRANSMIT_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 30) +/** + * How long do we wait until a statistics request for setting + * a value times out? (The update will be lost if the + * service does not react within this timeframe). + */ +#define SET_TRANSMIT_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MILLISECONDS, 250) /** |