Bug 43642 - Add prestartminSpareThreads attribute for Executor
Summary: Add prestartminSpareThreads attribute for Executor
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 6
Classification: Unclassified
Component: Connectors (show other bugs)
Version: 6.0.14
Hardware: All All
: P2 enhancement (vote)
Target Milestone: default
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-17 08:00 UTC by Ruediger Pluem
Modified: 2010-10-08 04:52 UTC (History)
1 user (show)



Attachments
Patch against 6.0.14 (1.78 KB, patch)
2007-10-17 08:01 UTC, Ruediger Pluem
Details | Diff
Patch against Tomcat 6.0 trunk (1.62 KB, patch)
2010-04-14 05:14 UTC, Ruediger Pluem
Details | Diff
Patch against Tomcat trunk (1.63 KB, patch)
2010-04-14 05:15 UTC, Ruediger Pluem
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ruediger Pluem 2007-10-17 08:00:46 UTC
The attached patch adds the boolean attribute prestartminSpareThreads to the
Executor element. This allows the admin to prestart minspareThreads for this
Executor during the start of Tomcat. The default value is false which is the old
behaviour. A documentation patch for executor.xml can be created if there is
interest in committing this patch.
Comment 1 Ruediger Pluem 2007-10-17 08:01:15 UTC
Created attachment 20996 [details]
Patch against 6.0.14
Comment 2 Ruediger Pluem 2010-04-12 07:56:39 UTC
Ping? Any interest? If needed I can provide a patch against 6.0.26.
Comment 3 jfclere 2010-04-13 02:20:10 UTC
Nope a  patch against trunk would be better.
Comment 4 Ruediger Pluem 2010-04-14 05:14:34 UTC
Created attachment 25291 [details]
Patch against Tomcat 6.0 trunk
Comment 5 Ruediger Pluem 2010-04-14 05:15:01 UTC
Created attachment 25292 [details]
Patch against Tomcat trunk
Comment 6 Tim Whittington 2010-10-08 04:52:56 UTC
This has been implemented in 7.0 at some point (it's documented at http://tomcat.apache.org/tomcat-7.0-doc/config/executor.html).