From c1facb5733721a14454f41bab2b97f8c8ceffc8e Mon Sep 17 00:00:00 2001 From: Pavel Rochnyack Date: Mon, 17 Jul 2017 11:15:52 +0700 Subject: [PATCH] rrdtool plugin: Remove excessive complain The plugin complains `Adjusting "RandomTimeout" to 0.000 seconds.` even if no 'CacheTimeout' was set. --- src/rrdtool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rrdtool.c b/src/rrdtool.c index 84fcceff..f09d6024 100644 --- a/src/rrdtool.c +++ b/src/rrdtool.c @@ -87,7 +87,7 @@ static rrdcreate_config_t rrdcreate_config = { * ALWAYS lock `cache_lock' first! */ static cdtime_t cache_timeout = 0; static cdtime_t cache_flush_timeout = 0; -static cdtime_t random_timeout = TIME_T_TO_CDTIME_T(1); +static cdtime_t random_timeout = 0; static cdtime_t cache_flush_last; static c_avl_tree_t *cache = NULL; static pthread_mutex_t cache_lock = PTHREAD_MUTEX_INITIALIZER; -- 2.30.2