packages/utils/collectd/patches/300-delay-first-read-cycle.patch
Hannu Nyman 2fc5a82b48 collectd: update to 5.7.1
Update collectd to version 5.7.1

* replace 003-remove-werror.patch with configure option
* remove 200-fix-git-describe-error.patch that is now unnecessary
* reformat other patches due to whitespace changes
* add new plugins to the list as disabled

* correct download & homepage links
* add myself as the second maintainer

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-02-06 11:32:38 +02:00

11 lines
345 B
Diff

--- a/src/daemon/plugin.c
+++ b/src/daemon/plugin.c
@@ -1108,7 +1108,7 @@ static int plugin_insert_read(read_func_
int status;
llentry_t *le;
- rf->rf_next_read = cdtime();
+ rf->rf_next_read = cdtime() + (cdtime_t) 1073741824; //delay first read 1s
rf->rf_effective_interval = rf->rf_interval;
pthread_mutex_lock(&read_lock);