m2u-upass-ws / resources / jetty.xml @ 88:86f6dc32ef98
History | View | Annotate | Download (930 Bytes)
1 | 38:346f2a2fb939 | hadi | <?xml version="1.0"?>
|
---|---|---|---|
2 | 51:69c3185f199c | hadi | <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
|
3 | 38:346f2a2fb939 | hadi | |
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 | 40:13d7b569136c | hadi | <Set name="minThreads">50</Set> |
13 | 38:346f2a2fb939 | hadi | |
14 | <!-- the thread pool will grow only up to 200 -->
|
||
15 | 40:13d7b569136c | hadi | <Set name="maxThreads">150</Set> |
16 | 38:346f2a2fb939 | hadi | |
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> |