summaryrefslogtreecommitdiff
path: root/sql/sys_vars.cc
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2011-12-14 23:16:50 +0100
committerVladislav Vaintroub <wlad@montyprogram.com>2011-12-14 23:16:50 +0100
commit468104567f6b0a1fe552f38717005f286c402125 (patch)
tree1400090c93f271e5fbb52f7fd2c9449ae32504b6 /sql/sys_vars.cc
parentc439494942f4c1f9b8f1017ac2a0056b8c564bf3 (diff)
downloadmariadb-git-468104567f6b0a1fe552f38717005f286c402125.tar.gz
On Unix, correct default threadpool_idle_timeout to be 60 sec
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 00f4d82d501..0a142e99c67 100644
--- a/sql/sys_vars.cc
+++ b/sql/sys_vars.cc
@@ -2213,7 +2213,7 @@ static Sys_var_uint Sys_threadpool_idle_thread_timeout(
"Timeout in seconds for an idle thread in the thread pool."
"Worker thread will be shut down after timeout",
GLOBAL_VAR(threadpool_idle_timeout), CMD_LINE(REQUIRED_ARG),
- VALID_RANGE(1, UINT_MAX/100), DEFAULT(60000), BLOCK_SIZE(1)
+ VALID_RANGE(1, UINT_MAX), DEFAULT(60), BLOCK_SIZE(1)
);
static Sys_var_uint Sys_threadpool_size(
"thread_pool_size",