Issue #9919 - Avoid creating two ByteBufferPools for the server
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
parent
926a15aa62
commit
a2832b8ec1
|
@ -24,24 +24,15 @@
|
||||||
<!-- configuration that may be set here. -->
|
<!-- configuration that may be set here. -->
|
||||||
<!-- =============================================================== -->
|
<!-- =============================================================== -->
|
||||||
<Configure id="Server" class="org.eclipse.jetty.server.Server">
|
<Configure id="Server" class="org.eclipse.jetty.server.Server">
|
||||||
<Arg name="threadPool"><Ref refid="threadPool"/></Arg>
|
<Arg name="threadPool"><Ref refid="threadPool"/></Arg>
|
||||||
|
<Arg>
|
||||||
<Call name="addBean">
|
<New class="org.eclipse.jetty.util.thread.ScheduledExecutorScheduler">
|
||||||
<Arg><Ref refid="byteBufferPool"/></Arg>
|
<Arg name="name"><Property name="jetty.scheduler.name"/></Arg>
|
||||||
</Call>
|
<Arg name="daemon" type="boolean"><Property name="jetty.scheduler.daemon" default="false" /></Arg>
|
||||||
|
<Arg name="threads" type="int"><Property name="jetty.scheduler.threads" default="-1" /></Arg>
|
||||||
<!-- =========================================================== -->
|
</New>
|
||||||
<!-- Add shared Scheduler instance -->
|
</Arg>
|
||||||
<!-- =========================================================== -->
|
<Arg><Ref refid="byteBufferPool"/></Arg>
|
||||||
<Call name="addBean">
|
|
||||||
<Arg>
|
|
||||||
<New class="org.eclipse.jetty.util.thread.ScheduledExecutorScheduler">
|
|
||||||
<Arg name="name"><Property name="jetty.scheduler.name"/></Arg>
|
|
||||||
<Arg name="daemon" type="boolean"><Property name="jetty.scheduler.daemon" default="false" /></Arg>
|
|
||||||
<Arg name="threads" type="int"><Property name="jetty.scheduler.threads" default="-1" /></Arg>
|
|
||||||
</New>
|
|
||||||
</Arg>
|
|
||||||
</Call>
|
|
||||||
|
|
||||||
<!-- =========================================================== -->
|
<!-- =========================================================== -->
|
||||||
<!-- Http Configuration. -->
|
<!-- Http Configuration. -->
|
||||||
|
|
Loading…
Reference in New Issue