Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimone Bordet2013-03-01 09:19:51 -0500
committerSimone Bordet2013-03-01 09:19:51 -0500
commite6fed09129e628f842102a4c73252b1a01809427 (patch)
tree91ea6de8c5edacda588beab5cdcb9d050c2b0167 /jetty-server/src/main/config/etc/jetty.xml
parent2feafb9a9726dbac73e0f42852573b82c988ad6a (diff)
downloadorg.eclipse.jetty.project-e6fed09129e628f842102a4c73252b1a01809427.tar.gz
org.eclipse.jetty.project-e6fed09129e628f842102a4c73252b1a01809427.tar.xz
org.eclipse.jetty.project-e6fed09129e628f842102a4c73252b1a01809427.zip
402075 - Massive old gen growth when hit by lots of non persistent connections.
Replaced usages of TimerScheduler with ScheduledExecutorScheduler.
Diffstat (limited to 'jetty-server/src/main/config/etc/jetty.xml')
-rw-r--r--jetty-server/src/main/config/etc/jetty.xml14
1 files changed, 7 insertions, 7 deletions
diff --git a/jetty-server/src/main/config/etc/jetty.xml b/jetty-server/src/main/config/etc/jetty.xml
index 06dc9e7131..9836464f7c 100644
--- a/jetty-server/src/main/config/etc/jetty.xml
+++ b/jetty-server/src/main/config/etc/jetty.xml
@@ -14,7 +14,7 @@
<!-- java -jar start.jar -? -->
<!-- =============================================================== -->
-<!-- =============================================================== -->
+<!-- =============================================================== -->
<!-- Configure a Jetty Server instance with an ID "Server" -->
<!-- Other configuration files may also configure the "Server" -->
<!-- ID, in which case they are adding configuration to the same -->
@@ -49,13 +49,13 @@
<Set name="detailedDump">false</Set>
</New>
</Arg>
-
+
<!-- =========================================================== -->
<!-- Add shared Scheduler instance -->
<!-- =========================================================== -->
<Call name="addBean">
<Arg>
- <New class="org.eclipse.jetty.util.thread.TimerScheduler"/>
+ <New class="org.eclipse.jetty.util.thread.ScheduledExecutorScheduler"/>
</Arg>
</Call>
@@ -82,14 +82,14 @@
<Set name="responseHeaderSize">8192</Set>
<Set name="sendServerVersion">true</Set>
<Set name="sendDateHeader">false</Set>
-
- <!-- Uncomment to enable handling of X-Forwarded- style headers
+
+ <!-- Uncomment to enable handling of X-Forwarded- style headers
<Call name="addCustomizer">
<Arg><New class="org.eclipse.jetty.server.ForwardedRequestCustomizer"/></Arg>
</Call>
-->
</New>
-
+
<!-- =========================================================== -->
<!-- Set the default handler structure for the Server -->
@@ -99,7 +99,7 @@
<!-- DefaultHandler, which handles any requests not handled by -->
<!-- the context handlers. -->
<!-- Other handlers may be added to the "Handlers" collection, -->
- <!-- for example the jetty-requestlog.xml file adds the -->
+ <!-- for example the jetty-requestlog.xml file adds the -->
<!-- RequestLogHandler after the default handler -->
<!-- =========================================================== -->
<Set name="handler">

Back to the top