summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 20115ea)
raw | patch | inline | side by side (parent: 20115ea)
author | Pavel Rochnyack <pavel2000@ngs.ru> | |
Mon, 17 Jul 2017 04:15:52 +0000 (11:15 +0700) | ||
committer | Florian Forster <octo@collectd.org> | |
Thu, 20 Jul 2017 05:55:58 +0000 (07:55 +0200) |
The plugin complains `Adjusting "RandomTimeout" to 0.000 seconds.` even
if no 'CacheTimeout' was set.
if no 'CacheTimeout' was set.
src/rrdtool.c | patch | blob | history |
diff --git a/src/rrdtool.c b/src/rrdtool.c
index 84fcceff9d76d3217ad0dbc110a8ca6ec9ee9953..f09d6024a3a985693d82fcea25a4f381a734a98f 100644 (file)
--- a/src/rrdtool.c
+++ b/src/rrdtool.c
* 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;