DefaultConcurrency
pulse.defaultConcurrency(concurrency)
pulse.defaultConcurrency(concurrency)
The defaultConcurrency
method sets the default number of jobs that can be processed concurrently by a Pulse
instance. This setting is crucial for controlling how many jobs are run at the same time, affecting resource utilization and job throughput.
Example Usage
Parameters
concurrency
(number
): The default number of concurrent jobs that the system should process. This value sets a baseline for job processing unless explicitly overridden by specific jobs.
Returns
Pulse
: Returns thePulse
instance, allowing for chaining of additional method calls.
Last updated