Issue #9919 - Avoid creating two ByteBufferPools for the server

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
Lachlan Roberts 2023-06-19 17:19:10 +10:00
parent 926a15aa62
commit a2832b8ec1
1 changed files with 9 additions and 18 deletions

View File

@ -25,15 +25,6 @@
<!-- =============================================================== -->
<Configure id="Server" class="org.eclipse.jetty.server.Server">
<Arg name="threadPool"><Ref refid="threadPool"/></Arg>
<Call name="addBean">
<Arg><Ref refid="byteBufferPool"/></Arg>
</Call>
<!-- =========================================================== -->
<!-- Add shared Scheduler instance -->
<!-- =========================================================== -->
<Call name="addBean">
<Arg>
<New class="org.eclipse.jetty.util.thread.ScheduledExecutorScheduler">
<Arg name="name"><Property name="jetty.scheduler.name"/></Arg>
@ -41,7 +32,7 @@
<Arg name="threads" type="int"><Property name="jetty.scheduler.threads" default="-1" /></Arg>
</New>
</Arg>
</Call>
<Arg><Ref refid="byteBufferPool"/></Arg>
<!-- =========================================================== -->
<!-- Http Configuration. -->