Jetty9 thread pool configuration
<?xml version="1.0"?>
<Configure id="Server" class="org.eclipse.jetty.server.Server">
<!-- =========================================================== -->
<!-- Jetty 9 Server Thread Pool -->
<!-- =========================================================== -->
<Arg name="threadpool">
<New id="threadpool" class="org.eclipse.jetty.util.thread.QueuedThreadPool">
<Set name="minThreads">
<Property name="threads.min" default="10"/>
</Set>
<Set name="maxThreads">
<Property name="threads.max" default="20"/>
</Set>
<Set name="detailedDump">false</Set>
</New>
</Arg>
</Configure>
Written by Rodolphe Quiédeville
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Configuration
Authors
danielpuglisi
17.18K
fsproru
13.18K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#