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
I have been poking around the codebase for a bit, and I think around the vicinity of the Queue.dequeue_any and Job.fetch(), and Job.restore() might have what I am seeking. But I am stuck there.
Any help is appreciated!
In my mind, I am looking for a piece of code to check the job's ttl when it is plucked from queue. Or maybe Job.perform_job() is run and it handles expired jobs internally, but I didn't find anything in perform_job().
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have been poking around the codebase for a bit, and I think around the vicinity of the
Queue.dequeue_any
andJob.fetch()
, andJob.restore()
might have what I am seeking. But I am stuck there.Any help is appreciated!
In my mind, I am looking for a piece of code to check the job's ttl when it is plucked from queue. Or maybe Job.perform_job() is run and it handles expired jobs internally, but I didn't find anything in perform_job().
Beta Was this translation helpful? Give feedback.
All reactions