trait ConfiguresJobOptions

Properties

null|int $tries

The number of times the job may be attempted.

null|int|list<int> $backoff

The number of seconds to wait before retrying the job when encountering an uncaught exception.

null|int $maxExceptions

The maximum number of unhandled exceptions to allow before failing.

bool $failOnTimeout

Indicates if the job should be marked as failed on timeout.

Methods

void
configureJob()

Configure the job.

Details

at line 38
protected void configureJob()

Configure the job.

Return Value

void