Skip to main content

CreateWorkQueue

Create a work queue definition in the [WorkQueues] section of the CPF.

Synopsis

[Actions]	CreateWorkQueue:Name=WQName,MaxActiveWorkers=n

Where n is a positive integer (>= 0) representing the maximum number of active worker jobs kept in the pool of jobs servicing requests. Default is 0 which represents a dynamic maximum.

Description

CreateWorkQueue defines a work queue. InterSystems IRIS® creates that work queue when processing the [Actions] section during a configuration merge. During the merge, InterSystems IRIS runs Config.WorkQueues.Create()Opens in a new tab to create the work queue defined by CreateWorkQueue. The Name and MaxActiveWorkers properties are required; the complete list of properties is available in the class reference.

Changing this Operation

This operation is designed to be used during a configuration merge. You can change CreateWorkQueue by editing the merge file in a text editor (as described in Editing the Active CPF).

See Introduction to the Work Queue Manager for more information on work queues.

FeedbackOpens in a new tab