MaxConcurrency
pulse.maxConcurrency(concurrency)
pulse.maxConcurrency(concurrency)
The maxConcurrency
method sets the maximum number of jobs that can be processed concurrently across the entire Pulse
instance, regardless of job type. This global setting is crucial for controlling overall system load and ensuring that job processing does not overwhelm system resources.
Example Usage
Parameters
concurrency
(number
): The maximum number of concurrent jobs allowed. This setting applies to all job types handled by thePulse
instance.
Returns
Pulse
: Returns the instance of thePulse
class, enabling method chaining.
Last updated