~maria-developers/maria/wlad-5.5-threadpool

« back to all changes in this revision

Viewing changes to sql/sys_vars.cc

  • Committer: Vladislav Vaintroub
  • Date: 2011-12-14 02:18:54 UTC
  • Revision ID: wlad@montyprogram.com-20111214021854-1oivdwxgah4sk9mj
Fix default idle time for worker thread on Unix to be 1 minute.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1805
1805
  "Timeout in seconds for an idle thread in the thread pool."
1806
1806
  "Worker thread will be shut down after timeout",
1807
1807
  GLOBAL_VAR(threadpool_idle_timeout), CMD_LINE(REQUIRED_ARG),
1808
 
  VALID_RANGE(1, UINT_MAX/100), DEFAULT(60000), BLOCK_SIZE(1)
 
1808
  VALID_RANGE(1, UINT_MAX), DEFAULT(60), BLOCK_SIZE(1)
1809
1809
);
1810
1810
static Sys_var_uint Sys_threadpool_size(
1811
1811
 "thread_pool_size",