DefaultLockLimit
pulse.defaultLockLimit(times)
pulse.defaultLockLimit(times)Example Usage
const pulse = new Pulse();
// Set the default concurrency for job processing to 3
pulse.defaultLockLimit(2);
//or new Pulse({ defaultLockLimit: 2 });Parameters
times(number): The maximum number of times jobs of a specific type can be locked concurrently.
Returns
Pulse: Returns the instance of thePulseclass, allowing for method chaining.
Last updated
Was this helpful?