| Parameter name |
Default value |
Description |
| corePoolSize |
2 |
The minimal number of threads that are kept alive in the thread pool for job execution. |
| maxPoolSize |
10 |
The maximum number of threads that are kept alive in the thread pool for job execution. |
| keepAliveTime |
5000 |
The time (in milliseconds) a thread used for job execution must be kept alive before it is destroyed. Default setting is 0. Having a non-default setting of 0 takes resources, but in the case of many job executions it avoids creating new threads all the time. |
| queueSize |
100 |
The size of the queue on which jobs to be executed are placed. |
| maxTimerJobsPerAcquisition |
1 |
The number of timer jobs that are fetched from the database in one query. |
| maxAsyncJobsDuePerAcquisition |
1 |
The number of asynchronous jobs due that are fetched from the database in one query. |
| defaultAsyncJobAcquireWaitTimeInMillis |
10000 |
The time in milliseconds between asynchronous job due queries being executed. |
| defaultTimerJobAcquireWaitTimeInMillis |
10000 |
The time in milliseconds between timer job queries being executed. |
| timerLockTimeInMillis |
300000 |
The time in milliseconds that a timer job is locked before being retried again. The Activiti Engine considers the timer job to have failed after this period of time and will retry. |
| asyncJobLockTimeInMillis |
300000 |
The time in milliseconds that an asynchronous job is locked before being retried again. The Activiti Engine considers the asynchronous job to have failed after this period of time and will retry. |