diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-04-14 18:12:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-04-14 18:12:10 +0000 |
commit | b5321aff06d6ea8d730d62aec2ffd8e9271c1ffc (patch) | |
tree | 36c41e35994786456154f9d3bf88c324763aeea4 /daemon/service.c | |
parent | Adding upstream version 1.33.1. (diff) | |
download | netdata-b5321aff06d6ea8d730d62aec2ffd8e9271c1ffc.tar.xz netdata-b5321aff06d6ea8d730d62aec2ffd8e9271c1ffc.zip |
Adding upstream version 1.34.0.upstream/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); |