workflow
workflow copied to clipboard
Add support for Job retries
Add methods withRetries(int $maxRetries) and retries(): int. By default Job uses 1.
Enable to re-run a work (n) times. Indicate how many times it failed and store each throwable.
Add methods withRetryDelay(int $ms) and timeout(): int. By default Job uses 1000.
If a Job fail, retry after the delay.