summaryrefslogtreecommitdiffstats
path: root/src/registry/registry_init.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/registry/registry_init.c (renamed from registry/registry_init.c)5
1 files changed, 0 insertions, 5 deletions
diff --git a/registry/registry_init.c b/src/registry/registry_init.c
index 79523e258..c291c6f82 100644
--- a/registry/registry_init.c
+++ b/src/registry/registry_init.c
@@ -172,9 +172,6 @@ int registry_init(void) {
&netdata_configured_cache_dir,
use_mmap, true);
- // disable cancelability to avoid enable/disable per item in the dictionary locks
- netdata_thread_disable_cancelability();
-
registry_log_open();
registry_db_load();
registry_log_load();
@@ -185,8 +182,6 @@ int registry_init(void) {
// registry_db_stats();
// registry_generate_curl_urls();
// exit(0);
-
- netdata_thread_enable_cancelability();
}
return 0;