Skip to content

Add support for Job retries #60

@rodber

Description

@rodber

Add methods withMaxRetries(int $maxRetries) and maxRetries(): int. Default 0.

Enable to re-run a work (n) times. Indicate how many times it failed and store each throwable.

Add methods withRetryDelay(int $seconds) and retryDelay(): int.

If a Job fail, retry after the delay (linear or expo) until reaching max retries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions