Petals SE Flowable

The async job executor should be tunnable

Details

  • Type: Improvement Request Improvement Request
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: No version
  • Fix Version/s: 1.0.0
  • Component/s: Configuration
  • Security Level: Public
  • Description:
    Hide

    The Petals SE Activiti provides a parameter to enable or disable the async job executor, but we can't set the parameters of this async job executor.

    The following parameters are described in the Activiti engine documentation. Please reuse the same names and the same default values:

    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.
    Show
    The Petals SE Activiti provides a parameter to enable or disable the async job executor, but we can't set the parameters of this async job executor. The following parameters are described in the Activiti engine documentation. Please reuse the same names and the same default values:
    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.
  • Environment:
    -

Issue Links

Activity

Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Resolved Resolved
1m 35s
1
Christophe DENEUX
Fri, 22 Sep 2017 - 18:09:39 +0200

People

Dates

  • Created:
    Fri, 22 Sep 2017 - 18:08:04 +0200
    Updated:
    Fri, 22 Sep 2017 - 18:13:02 +0200
    Resolved:
    Fri, 22 Sep 2017 - 18:09:39 +0200