From: Christian Grothoff Date: Tue, 26 Jul 2011 15:10:12 +0000 (+0000) Subject: can and should use longer timeout here X-Git-Tag: initial-import-from-subversion-38251~17639 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=911dc5db46520e048999b7c8593470c65d785f3c;p=oweals%2Fgnunet.git can and should use longer timeout here --- diff --git a/src/core/test_core_api_reliability.c b/src/core/test_core_api_reliability.c index 2bd5f9a78..fe0162188 100644 --- a/src/core/test_core_api_reliability.c +++ b/src/core/test_core_api_reliability.c @@ -54,10 +54,8 @@ /** * What delay do we request from the core service for transmission? - * Any value smaller than the CORK delay will disable CORKing, which - * is what we want here. */ -#define FAST_TIMEOUT GNUNET_TIME_relative_divide (GNUNET_CONSTANTS_MAX_CORK_DELAY, 2) +#define FAST_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5) #define MTYPE 12345 diff --git a/src/core/test_core_quota_compliance.c b/src/core/test_core_quota_compliance.c index 816e7f10a..593ffa120 100644 --- a/src/core/test_core_quota_compliance.c +++ b/src/core/test_core_quota_compliance.c @@ -56,10 +56,8 @@ /** * What delay do we request from the core service for transmission? - * Any value smaller than the CORK delay will disable CORKing, which - * is what we want here. */ -#define FAST_TIMEOUT GNUNET_TIME_relative_divide (GNUNET_CONSTANTS_MAX_CORK_DELAY, 2) +#define FAST_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5) #define MTYPE 12345 #define MESSAGESIZE 1024