WorkerOptions
class WorkerOptions
Methods
__construct(string $name = 'default', array|int $backoff = 0, float $memory = 128, int $timeout = 60, int $sleep = 3, int $maxTries = 1, bool $force = false, bool $stopWhenEmpty = false, int $maxJobs = 0, int $maxTime = 0, int $rest = 0, int $stopWhenEmptyFor = 0, int $concurrency = 1, int $monitorInterval = 1, array $coroutineContext = [])
Create a new worker options instance.
Details
at line 28
__construct(string $name = 'default', array|int $backoff = 0, float $memory = 128, int $timeout = 60, int $sleep = 3, int $maxTries = 1, bool $force = false, bool $stopWhenEmpty = false, int $maxJobs = 0, int $maxTime = 0, int $rest = 0, int $stopWhenEmptyFor = 0, int $concurrency = 1, int $monitorInterval = 1, array $coroutineContext = [])
Create a new worker options instance.