Adds an array of jobs to the queue. This method may be faster than adding one job at a time in a sequence.
The array of jobs to add to the queue. Each job is defined by 3 properties, 'name', 'data' and 'opts'. They follow the same signature as 'Queue.add'.
Get the given group status.
GroupStatus - The status of the group or null if the group does not exist.
The group id to get the status for.
Get the group ids with jobs current jobs in them.
TODO: Support group id filtering.
Gets all the groups that are in a particular status.
an array of objects with the group id and status.
GroupStatus so we can filter by status
start index, used for pagination.
end index, used for pagination.
Pauses the processing of a specific group globally.
Adding jobs requires a LUA script to check first if the paused list exist and in that case it will add it there instead of the wait list or group list.
Repairs a maxed group.
It seems that in some unknown situations a group can become maxed although there are no active jobs in the group. This function will try to repair this situation.
the group to repair
Generated using TypeDoc
Adds a Job to the queue.