diff options
author | Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com> | 2024-02-06 21:53:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-06 21:53:33 +0200 |
commit | 1aa658f3dea92b6307704c74fee9330b83c52cf4 (patch) | |
tree | f5755bf6ec25e54e261eb8f9f96496a2f2a0b22a | |
parent | a3a3982c0220beb889d5be799a8f4cd2253ff690 (diff) |
Remove cleanup_destroyed_dictionaries call during shutdown (#16944)
Remove cleanup_destroyed_dictionaries
-rw-r--r-- | src/daemon/main.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/daemon/main.c b/src/daemon/main.c index e36b77f8cf..558bc2aa9f 100644 --- a/src/daemon/main.c +++ b/src/daemon/main.c @@ -461,12 +461,9 @@ void netdata_cleanup_and_exit(int ret, const char *action, const char *action_re for (size_t tier = 0; tier < storage_tiers; tier++) running += rrdeng_collectors_running(multidb_ctx[tier]); - if(running) { + if (running) { nd_log_limit_static_thread_var(erl, 1, 100 * USEC_PER_MS); - nd_log_limit(&erl, NDLS_DAEMON, NDLP_NOTICE, - "waiting for %zu collectors to finish", running); - // sleep_usec(100 * USEC_PER_MS); - cleanup_destroyed_dictionaries(); + nd_log_limit(&erl, NDLS_DAEMON, NDLP_NOTICE, "waiting for %zu collectors to finish", running); } count--; } |