You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the ZREM succeeds but something happens afterwards that LPUSH is not called we may never enqueue again this job. We would rather have 2 jobs than 0 jobs to be processed.
It is supposed to be a rare case that Redis fails to LPUSH after a successful ZREM but if we can avoid this case by ordering the commands we might as well do it.
https://github.com/edgurgel/verk/blob/master/priv/requeue_job_now.lua
If the
ZREM
succeeds but something happens afterwards that LPUSH is not called we may never enqueue again this job. We would rather have 2 jobs than 0 jobs to be processed.cc/ @keyan
I'm not sure if we want to try to
LREM
if theZREM
failed? What do you think?The text was updated successfully, but these errors were encountered: