Update collectd, the backbone of Luci statistics, to 5.5.1 Refresh patches. Main changes: - Remove 500-upstream-parallel-build-fix.patch (implemented upstream) - Add 600-fix-libmodbus-detection.patch to revert an upstream change that broke libmodbus detection in collectd's configure script Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
11 lines
342 B
Diff
11 lines
342 B
Diff
--- a/src/daemon/plugin.c
|
|
+++ b/src/daemon/plugin.c
|
|
@@ -1149,7 +1149,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);
|