From: Matthias Wachs Date: Tue, 19 Apr 2011 12:50:59 +0000 (+0000) Subject: setting ats intervals to productive use settings X-Git-Tag: initial-import-from-subversion-38251~18655 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=71bd1643801c12dc65a94a5ce35b0b51bce6a7c3;p=oweals%2Fgnunet.git setting ats intervals to productive use settings --- diff --git a/src/transport/transport.h b/src/transport/transport.h index 1cc1f8729..c6d15ff26 100644 --- a/src/transport/transport.h +++ b/src/transport/transport.h @@ -31,9 +31,9 @@ #include "gnunet_transport_service.h" /* Minimum time between to calculations*/ -#define ATS_MIN_INTERVAL GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 1) -#define ATS_EXEC_INTERVAL GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 2) -#define ATS_MAX_EXEC_DURATION GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_MILLISECONDS, 100) +#define ATS_MIN_INTERVAL GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 15) +#define ATS_EXEC_INTERVAL GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 30) +#define ATS_MAX_EXEC_DURATION GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_MILLISECONDS, 300) #define ATS_MAX_ITERATIONS INT_MAX #define DEBUG_TRANSPORT GNUNET_NO