From 6534d0035db3c64eedbc35ee47e8f3aaf522791b Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Mon, 3 Nov 2014 14:50:16 +0100 Subject: [PATCH] Add documentation for the keep-alive flag This commit updates the documentation of the task:executor element to reference the keep-alive flag. Issue: SPR-12407 --- src/asciidoc/index.adoc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/asciidoc/index.adoc b/src/asciidoc/index.adoc index ff4f4e5b52..053cbf807b 100644 --- a/src/asciidoc/index.adoc +++ b/src/asciidoc/index.adoc @@ -47654,6 +47654,20 @@ element. ---- +Finally, the `keep-alive` setting determines the time limit (in seconds) for which threads +may remain idle before being terminated. If there are more than the core number of threads +currently in the pool, after waiting this amount of time without processing a task, excess +threads will be terminated. A time value of zero will cause excess threads to terminate +immediately after executing tasks. + +[source,xml,indent=0] +[subs="verbatim,quotes"] +---- + +---- [[scheduling-task-namespace-scheduled-tasks]] ==== The 'scheduled-tasks' element