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.
When enqueueing jobs using RQ's scheduler APIs (
enqueue_at,enqueue_in), theCOMMIT_MODEsetting 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 andenqueue_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.