can and should use longer timeout here
authorChristian Grothoff <christian@grothoff.org>
Tue, 26 Jul 2011 15:10:12 +0000 (15:10 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 26 Jul 2011 15:10:12 +0000 (15:10 +0000)
src/core/test_core_api_reliability.c
src/core/test_core_quota_compliance.c

index 2bd5f9a785cc78847a574bf02bd7358506aff9fe..fe0162188909dc2ed973b295cc755ab94028f6c2 100644 (file)
 
 /**
  * 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
 
index 816e7f10ac1054b21ae9cf53c40017ba1b9836db..593ffa1202678571b002277f0e35d008b7e9a79e 100644 (file)
 
 /**
  * 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