Remove cleanup_destroyed_dictionaries call during shutdown (#16944)
Remove cleanup_destroyed_dictionaries
Stelios Fragkakis committed
Feb 6, 2024 at 21:53 UTC
1aa658f3dea92b6307704c74fee9330b83c52cf4
1 file changed
+2
-5
src/daemon/main.c
+2
-5
@@ -461,12 +461,9 @@ void netdata_cleanup_and_exit(int ret, const char *action, const char *action_re
461
for (size_t tier = 0; tier < storage_tiers; tier++)
462
running += rrdeng_collectors_running(multidb_ctx[tier]);
463
464
- if(running) {
464
+ if (running) {
465
nd_log_limit_static_thread_var(erl, 1, 100 * USEC_PER_MS);
466
- nd_log_limit(&erl, NDLS_DAEMON, NDLP_NOTICE,
467
- "waiting for %zu collectors to finish", running);
468
- // sleep_usec(100 * USEC_PER_MS);
469
- cleanup_destroyed_dictionaries();
466
+ nd_log_limit(&erl, NDLS_DAEMON, NDLP_NOTICE, "waiting for %zu collectors to finish", running);
467
}
468
count--;
469
}