MaxConcurrency
pulse.maxConcurrency(concurrency)
pulse.maxConcurrency(concurrency)Example Usage
const pulse = new Pulse();
// Set the default concurrency for job processing to 3
pulse.maxConcurrency(10);
//or new Pulse({ maxConcurrenc: 10 });Parameters
concurrency(number): The maximum number of concurrent jobs allowed. This setting applies to all job types handled by thePulseinstance.
Returns
Pulse: Returns the instance of thePulseclass, enabling method chaining.
Last updated
Was this helpful?