DefaultLockLimit
pulse.defaultLockLimit(times)
pulse.defaultLockLimit(times)
The defaultLockLimit
method sets the default number of times jobs of any given type can be locked concurrently. This setting helps to manage the concurrency of job processing more finely by limiting how many instances of the same job type can be prepared for execution at the same time.
Example Usage
Parameters
times
(number
): The maximum number of times jobs of a specific type can be locked concurrently.
Returns
Pulse
: Returns the instance of thePulse
class, allowing for method chaining.
Last updated
Was this helpful?