0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-25 21:43:55 +00:00

Remove cleanup_destroyed_dictionaries call during shutdown ()

Remove cleanup_destroyed_dictionaries
This commit is contained in:
Stelios Fragkakis 2024-02-06 21:53:33 +02:00 committed by GitHub
parent a3a3982c02
commit 1aa658f3de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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--;
}