diff --git a/lib/MySQL_Monitor.cpp b/lib/MySQL_Monitor.cpp index de2161078..6d64d7e8c 100644 --- a/lib/MySQL_Monitor.cpp +++ b/lib/MySQL_Monitor.cpp @@ -278,14 +278,14 @@ void * monitor_ping_pthread(void *arg) { void * monitor_read_only_pthread(void *arg) { bool cache=false; -// mallctl("thread.tcache.enabled", NULL, NULL, &cache, sizeof(bool)); + mallctl("thread.tcache.enabled", NULL, NULL, &cache, sizeof(bool)); GloMyMon->monitor_read_only(); return NULL; } void * monitor_replication_lag_pthread(void *arg) { bool cache=false; -// mallctl("thread.tcache.enabled", NULL, NULL, &cache, sizeof(bool)); + mallctl("thread.tcache.enabled", NULL, NULL, &cache, sizeof(bool)); GloMyMon->monitor_replication_lag(); return NULL; }