Skip to content

Need to know the retry instance #175

Description

@richard0000

In order to only run certain logic when the job is retried a specific amount of times, I need to know the retry instance that's begin run.

So let's say I want to raise a specific exception when I know the job was already retried 3 times.

I couldn't find a way to do so with the current interface, reading the documentation. Is there any way? If not, is it reasonable to consider implementing it?

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions