m2u-upass-ws / resources / jetty.xml @ 115:048753ed13f0
History | View | Annotate | Download (930 Bytes)
1 |
<?xml version="1.0"?>
|
---|---|
2 |
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
|
3 |
|
4 |
<Configure id="Server" class="org.mortbay.jetty.Server"> |
5 |
|
6 |
<!-- =========================================================== -->
|
7 |
<!-- Server Thread Pool -->
|
8 |
<!-- =========================================================== -->
|
9 |
<Set name="ThreadPool"> |
10 |
<New class="org.mortbay.thread.QueuedThreadPool"> |
11 |
<!-- initial threads set to 10 -->
|
12 |
<Set name="minThreads">50</Set> |
13 |
|
14 |
<!-- the thread pool will grow only up to 200 -->
|
15 |
<Set name="maxThreads">150</Set> |
16 |
|
17 |
<!-- indicates that having 20 and below, the pool will be considered low
|
18 |
on threads -->
|
19 |
<!-- <Set name="lowThreads">100</Set> -->
|
20 |
|
21 |
<!-- The number of queued jobs (or idle threads) needed before the thread
|
22 |
pool is grown (or shrunk) -->
|
23 |
<Set name="SpawnOrShrinkAt">2</Set> |
24 |
</New>
|
25 |
</Set>
|
26 |
</Configure>
|