08-29-2012 09:13 AM
<bean id="myJobExecutor" class="org.activiti.engine.impl.jobexecutor.DefaultJobExecutor">
<property name="queueSize" value="30" />
<property name="corePoolSize" value="30" />
<property name="maxPoolSize" value="100" />
<property name="maxJobsPerAcquisition" value="30" />
<property name="waitTimeInMillis" value="1000" />
<property name="lockTimeInMillis" value="180000"/>
</bean>
<bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration">
<property name="dataSource" ref="dataSource" />
<property name="transactionManager" ref="transactionManager" />
<property name="databaseSchemaUpdate" value="true" />
<property name="jobExecutorActivate" value="true" />
<property name="jobExecutor" ref="myJobExecutor" />
<property name="history" value="activity" />
<property name="idGenerator">
<bean class="org.activiti.engine.impl.persistence.StrongUuidGenerator" />
</property>
<property name="idBlockSize" value="2000" />
</bean>
08-29-2012 11:12 AM
08-29-2012 05:11 PM
Hi,
You can certainly optimize it by adding indexes. Oracle has tools to give you advise on that, right?
Do you know for sure that the issue lies with the job executor?
Are you starting synchronous or asynchronous processes? Does the job wait before the process is completed or do you have an async task in between?
Best regards,
08-30-2012 03:23 AM
08-31-2012 02:07 AM
08-31-2012 04:11 AM
09-04-2012 09:34 AM
<bean id="myJobExecutor" class="org.activiti.engine.impl.jobexecutor.DefaultJobExecutor">
<property name="queueSize" value="30" />
<property name="corePoolSize" value="30" />
<property name="maxPoolSize" value="50" />
<property name="maxJobsPerAcquisition" value="3" />
<property name="waitTimeInMillis" value="1000" />
<property name="lockTimeInMillis" value="60000"/>
</bean>
09-05-2012 10:24 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.