mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Made the ThreadPoolExecutorFactory more configurable, but also with more sensible defaults.
- The queue for background jobs is unlimited - A smaller number of core threads is maintained - It is possible to set the threads' priority (default low) Added hasAspect() method to XPath functions. Various other cosmetic changes. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6146 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -811,15 +811,9 @@
|
||||
<!-- Thread Pool -->
|
||||
<!-- -->
|
||||
|
||||
<bean id="threadPoolExecutor" class="org.alfresco.util.ThreadPoolExecutorFactoryBean" singleton="true" >
|
||||
<bean id="threadPoolExecutor" class="org.alfresco.util.ThreadPoolExecutorFactoryBean" singleton="true">
|
||||
<property name="corePoolSize">
|
||||
<value>5</value>
|
||||
</property>
|
||||
<property name="maximumPoolSize">
|
||||
<value>20</value>
|
||||
</property>
|
||||
<property name="keepAliveTime">
|
||||
<value>60</value>
|
||||
<value>2</value>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
|
Reference in New Issue
Block a user