diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-04-14 18:12:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-04-14 18:12:14 +0000 |
commit | bb50acdcb8073654ea667b8c0272e335bd43f844 (patch) | |
tree | 1e00c8a29871426f8182658928dcb62e42d57ce8 /daemon/service.c | |
parent | Releasing debian version 1.33.1-1. (diff) | |
download | netdata-bb50acdcb8073654ea667b8c0272e335bd43f844.tar.xz netdata-bb50acdcb8073654ea667b8c0272e335bd43f844.zip |
Merging upstream version 1.34.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'daemon/service.c')
-rw-r--r-- | daemon/service.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/daemon/service.c b/daemon/service.c index d3a4e5500..61cc1281a 100644 --- a/daemon/service.c +++ b/daemon/service.c @@ -31,6 +31,11 @@ void *service_main(void *ptr) heartbeat_next(&hb, step); rrd_cleanup_obsolete_charts(); + + rrd_wrlock(); + rrdhost_cleanup_orphan_hosts_nolock(localhost); + rrd_unlock(); + } netdata_thread_cleanup_pop(1); |