From: Timo Sirainen Date: Wed, 17 Feb 2021 11:18:55 +0000 (+0200) Subject: lib: test-cpu-limit - Increase ALLOW_MSECS_BELOW to 500ms X-Git-Tag: 2.3.15~368 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dc5e992d3344e741e346faa9f6e6b34fb01af8d8;p=thirdparty%2Fdovecot%2Fcore.git lib: test-cpu-limit - Increase ALLOW_MSECS_BELOW to 500ms The test still randomly failed with 100ms. Maybe 500ms is enough? --- diff --git a/src/lib/test-cpu-limit.c b/src/lib/test-cpu-limit.c index 9c8b3e48bd..aaf50c3868 100644 --- a/src/lib/test-cpu-limit.c +++ b/src/lib/test-cpu-limit.c @@ -11,7 +11,7 @@ /* The CPU limits aren't exact. Allow this much leniency in the time comparisons. */ -#define ALLOW_MSECS_BELOW 100 +#define ALLOW_MSECS_BELOW 500 #define ALLOW_MSECS_ABOVE 1500 static bool limit_exceeded1, limit_exceeded2;