Skip to content

waitUntilFinished hang if removeOnComplete is set without TTLΒ #85

Closed
@Embraser01

Description

When using the removeOnComplete option on a job, calling the waitUntilFinished will have an undefined behavior (unless ttl has been set).

If it's called before the job is cleared from the queue, it will work as intended but if the job is already removed, it will just hang indefinitely.

I think the waitUntilFinished function should warn the user if removeOn... is set as it may never resolve.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions