summaryrefslogtreecommitdiff
path: root/sql/sys_vars.cc
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2016-11-04 13:00:11 +0000
committerVladislav Vaintroub <wlad@mariadb.com>2017-01-26 17:39:36 +0000
commitdef258061b884df91624562c27c818f9d1fa2d5c (patch)
tree686f96ddf365282dfc54f8cdd034bd95f1e2609a /sql/sys_vars.cc
parentd96ee168a1f87c090421fb593930515ae8db3d7f (diff)
downloadmariadb-git-def258061b884df91624562c27c818f9d1fa2d5c.tar.gz
increase default for max threads in the pool to max allowed value (64K) currently
Diffstat (limited to 'sql/sys_vars.cc')
-rw-r--r--sql/sys_vars.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sys_vars.cc b/sql/sys_vars.cc
index c21fc4f7f49..fa723e2707f 100644
--- a/sql/sys_vars.cc
+++ b/sql/sys_vars.cc
@@ -3359,7 +3359,7 @@ static Sys_var_uint Sys_threadpool_max_threads(
"thread_pool_max_threads",
"Maximum allowed number of worker threads in the thread pool",
GLOBAL_VAR(threadpool_max_threads), CMD_LINE(REQUIRED_ARG),
- VALID_RANGE(1, 65536), DEFAULT(1000), BLOCK_SIZE(1),
+ VALID_RANGE(1, 65536), DEFAULT(65536), BLOCK_SIZE(1),
NO_MUTEX_GUARD, NOT_IN_BINLOG, ON_CHECK(0),
ON_UPDATE(fix_tp_max_threads)
);