Skip to main content

Interface: IProcessingGroupOptions

Interface describes the options for a processing group, which determines how many tasks can be processed in parallel for a given group of activities.

Properties​

concurrentTasks?​

optional concurrentTasks?: number

The number of concurrent tasks that can be processed for this processing group.


idleShutdownTimeout?​

optional idleShutdownTimeout?: number

Terminate the worker after it has been idle for the specified timeout in milliseconds, defaults to 0 for immediate shutdown, set to -1 to keep workers alive.


retryCount?​

optional retryCount?: number

The number of times a task in this processing group should be retried in case of failure.


excludeCloneComponents?​

optional excludeCloneComponents?: string[]

The component types to exclude from the engine clone used by the workers of this processing group. Each entry is a regular expression matched against the engine config type keys, for example "^rightsManagement"; entries the engine marks as always cloned are kept even when their key matches.