Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

update jetty.xml for new jetty

Mark Robert Miller94eb33a1df5e
diff --git a/solr/example/etc/jetty.xml b/solr/example/etc/jetty.xml
index 1a7d1866420..d8c1ccbc276 100755
--- a/solr/example/etc/jetty.xml
+++ b/solr/example/etc/jetty.xml
@@ -24,10 +24,11 @@
<Set name="ThreadPool">
<!-- Default bounded blocking threadpool
-->
- <New class="org.mortbay.thread.BoundedThreadPool">
+ <New class="org.mortbay.thread.QueuedThreadPool">
<Set name="minThreads">10</Set>
- <Set name="lowThreads">50</Set>
<Set name="maxThreads">10000</Set>
+ <Set name="lowThreads">50</Set>
+ <Set name="SpawnOrShrinkAt">2</Set>
</New>
<!-- Optional Java 5 bounded threadpool with job queue