[Red5commits] [2412] --
pgregoire
luke at codegent.com
Sat Oct 20 02:40:40 PDT 2007
--
Timestamp: 10/20/07 04:38:09 EST (less than one hour ago)
Change: 2412
Author: pgregoire
Files (see diff or trac for details):
java/server/trunk/conf/jboss/red5-common.xml
java/server/trunk/conf/war/red5-common.xml
Trac: http://mirror1.cvsdude.com/trac/osflash/red5/changeset/2412
Index: /java/server/trunk/conf/jboss/red5-common.xml
===================================================================
--- /java/server/trunk/conf/jboss/red5-common.xml (revision 2274)
+++ /java/server/trunk/conf/jboss/red5-common.xml (revision 2412)
@@ -100,34 +100,7 @@
<!-- Scheduling service -->
<bean id="schedulingService" class="org.red5.server.scheduling.QuartzSchedulingService"/>
- <!-- Thread factory -->
- <bean id="threadFactory" class="org.red5.server.pooling.ThreadObjectFactory"/>
<!-- Threadpool settings for the remoting clients -->
<bean id="remotingPool" class="org.red5.server.pooling.ThreadPool">
- <constructor-arg>
- <ref bean="threadFactory"/>
- </constructor-arg>
- <!-- maxIdle: The maximum number of sleeping instances in the pool,
- without extra objects being released. -->
- <property name="maxIdle" value="8"/>
- <!-- minIdle: The minimum number of sleeping instances in the pool,
- without extra objects being created. -->
- <property name="minIdle" value="2"/>
- <!-- maxActive: The maximum number of active instances in the pool. -->
- <property name="maxActive" value="8"/>
- <!-- timeBetweenEvictionRunsMillis: The number of milliseconds to
- sleep between runs of the idle-object evictor thread. When negative,
- no idle-object evictor thread will run. Use this parameter only when
- you want the evictor thread to run. -->
- <property name="timeBetweenEvictionRunsMillis" value="120000"/>
- <!-- minEvictableIdleTimeMillis: The minimum amount of time an object,
- if active, may sit idle in the pool before it is eligible for eviction
- by the idle-object evictor. If a negative value is supplied, no objects
- are evicted due to idle time alone. -->
- <property name="minEvictableIdleTimeMillis" value="-1"/>
- <!-- testOnBorrow: When "true," objects are validated. If the object fails
- validation, it will be dropped from the pool, and the pool will attempt
- to borrow another. -->
- <property name="testOnBorrow" value="true"/>
- <property name="whenExhaustedAction" value="2"/>
+ <property name="poolSize" value="8"/>
</bean>
<!-- Use injection to setup thread pool for remoting clients -->
Index: /java/server/trunk/conf/war/red5-common.xml
===================================================================
--- /java/server/trunk/conf/war/red5-common.xml (revision 2401)
+++ /java/server/trunk/conf/war/red5-common.xml (revision 2412)
@@ -98,34 +98,7 @@
<!-- Scheduling service -->
<bean id="schedulingService" class="org.red5.server.scheduling.QuartzSchedulingService" destroy-method="shutdown"/>
- <!-- Thread factory -->
- <bean id="threadFactory" class="org.red5.server.pooling.ThreadObjectFactory"/>
<!-- Threadpool settings for the remoting clients -->
<bean id="remotingPool" class="org.red5.server.pooling.ThreadPool">
- <constructor-arg>
- <ref bean="threadFactory"/>
- </constructor-arg>
- <!-- maxIdle: The maximum number of sleeping instances in the pool,
- without extra objects being released. -->
- <property name="maxIdle" value="8"/>
- <!-- minIdle: The minimum number of sleeping instances in the pool,
- without extra objects being created. -->
- <property name="minIdle" value="2"/>
- <!-- maxActive: The maximum number of active instances in the pool. -->
- <property name="maxActive" value="8"/>
- <!-- timeBetweenEvictionRunsMillis: The number of milliseconds to
- sleep between runs of the idle-object evictor thread. When negative,
- no idle-object evictor thread will run. Use this parameter only when
- you want the evictor thread to run. -->
- <property name="timeBetweenEvictionRunsMillis" value="120000"/>
- <!-- minEvictableIdleTimeMillis: The minimum amount of time an object,
- if active, may sit idle in the pool before it is eligible for eviction
- by the idle-object evictor. If a negative value is supplied, no objects
- are evicted due to idle time alone. -->
- <property name="minEvictableIdleTimeMillis" value="-1"/>
- <!-- testOnBorrow: When "true," objects are validated. If the object fails
- validation, it will be dropped from the pool, and the pool will attempt
- to borrow another. -->
- <property name="testOnBorrow" value="true"/>
- <property name="whenExhaustedAction" value="2"/>
+ <property name="poolSize" value="8"/>
</bean>
<!-- Use injection to setup thread pool for remoting clients -->
Note:
Diffs are chopped if more than 25k.
This is to get past the limit on the mailing list.
More information about the Red5commits
mailing list