workflow icon indicating copy to clipboard operation
workflow copied to clipboard

Add support for Job retries

Open rodber opened this issue 5 months ago • 0 comments

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.

rodber avatar Aug 30 '25 01:08 rodber