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
Right now we're using a TimeWithZone date saved on an object for the enqueue_at time. In some cases it won't properly enqueue unless I add a duration, for instance: enqueue_at(object.time_with_zone, HandlerClass, object.id)
vs. enqueue_at(object.time_with_zone + 1.seconds, HandlerClass, object.id)
In both cases the time passed to enqueue_at() is a TimeWithZone.
The interesting thing is I can see the second job appear in the delayed queue but not the first. However if I use remove_delayed() it will remove both jobs making me think it might be something to do with the timestamp.
The text was updated successfully, but these errors were encountered:
Right now we're using a TimeWithZone date saved on an object for the enqueue_at time. In some cases it won't properly enqueue unless I add a duration, for instance:
enqueue_at(object.time_with_zone, HandlerClass, object.id)
vs.
enqueue_at(object.time_with_zone + 1.seconds, HandlerClass, object.id)
In both cases the time passed to
enqueue_at()
is a TimeWithZone.The interesting thing is I can see the second job appear in the delayed queue but not the first. However if I use
remove_delayed()
it will remove both jobs making me think it might be something to do with the timestamp.The text was updated successfully, but these errors were encountered: