Commit dbc95669 authored by Nils Goroll's avatar Nils Goroll

default thread_pool_watchdog == default cli_timeout

Avoid (potential) issues due to the monotonic clock not advancing for ~10
seconds such as for virtual machine snapshots or migrations.

In such a scenario, we would kill a child after cli_timeout anyway, so
using the same timeout by default for the watchdog also should reduce
the additional risk implied by it.

Ref	#2814
parent 13015f59
...@@ -156,7 +156,7 @@ struct parspec WRK_parspec[] = { ...@@ -156,7 +156,7 @@ struct parspec WRK_parspec[] = {
"If no queued work have been released for this long," "If no queued work have been released for this long,"
" the worker process panics itself.", " the worker process panics itself.",
EXPERIMENTAL, EXPERIMENTAL,
"10", "seconds" }, "60", "seconds" },
{ "thread_pool_destroy_delay", { "thread_pool_destroy_delay",
tweak_timeout, &mgt_param.wthread_destroy_delay, tweak_timeout, &mgt_param.wthread_destroy_delay,
"0.01", NULL, "0.01", NULL,
......
...@@ -1202,7 +1202,7 @@ PARAM( ...@@ -1202,7 +1202,7 @@ PARAM(
/* typ */ timeout, /* typ */ timeout,
/* min */ "0.1", /* min */ "0.1",
/* max */ NULL, /* max */ NULL,
/* default */ "10.000", /* default */ "60.000",
/* units */ "seconds", /* units */ "seconds",
/* flags */ EXPERIMENTAL, /* flags */ EXPERIMENTAL,
/* s-text */ /* s-text */
......
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