Commit 13add5fd authored by Tollef Fog Heen's avatar Tollef Fog Heen

Reduce the default thread_add_delay to 2ms

Experience shows that 2ms is a better value for thread_add_delay.
This is high enough to prevent thread pileups and low enough that
we do not run into as too few thread problems at startup.
parent 99c0a172
......@@ -175,8 +175,8 @@ const struct parspec WRK_parspec[] = {
"\n"
"Setting this too short increases the risk of worker "
"thread pile-up.\n",
EXPERIMENTAL,
"20", "milliseconds" },
0,
"2", "milliseconds" },
{ "thread_pool_fail_delay",
tweak_timeout, &master.wthread_fail_delay, 100, UINT_MAX,
"Wait at least this long after a failed thread creation "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment