From 0e7df477ec27cfcd782763c995efc394320b2e2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Sat, 15 Oct 2016 11:17:42 +0000 Subject: [PATCH] Fixing number of threads --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 8f8954a91..17409792e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -290,7 +290,7 @@ void ProxySQL_Main_init_Query_module() { void ProxySQL_Main_init_MySQL_Threads_Handler_module() { unsigned int i; GloMTH->init(); - load_ = GloMTH->num_threads + 1; + load_ = GloMTH->num_threads * 2 + 1; for (i=0; inum_threads; i++) { GloMTH->create_thread(i,mysql_worker_thread_func, false); GloMTH->create_thread(i,mysql_worker_thread_func_idles, true);