Skip to content

Support COMMIT_MODE for RQ's scheduler APIs #821

Description

@RealOrangeOne

When enqueueing jobs using RQ's scheduler APIs (enqueue_at, enqueue_in), the COMMIT_MODE setting isn't respected.

It looks like this is because it's implemented by directly wrapping enqueue_call, but none of the other enqueue APIs (eg the above and enqueue_job).

I don't know that there's an easy way to avoid duplication, so the right solution may be to do similar wrapping on the other methods.

Activity

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

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