Skip to content

Extend the expiry of jobs while working on them #579

@boredland

Description

@boredland

Hi there! Thank you so much for this fantastic project!

I have a scenario, where it is quite impossible to know beforehand, how long a certain job will take, and it also is quite the range (1 second vs 3 hours for example). While I probably could use the maximum as my expireInSeconds, I am wondering, if, while working on it, I could extend the expiry.

From working with nsq for example, I know an API msg.touch() that extends the expiry by the configured expiration whenever called. This helped me a lot in such cases.

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