Replies: 1 comment 11 replies
-
First, To be honest, the timeout should likely only be used for the server process (when your perform action is called). You want this number to be as low as possible. Try a second or two! Hard to say what is going wrong, but in #730, it was discovered that |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I inherited a job set up as:
These jobs take a few seconds to run, and when a large number of them queue up the time spent on the queue can exceed the
lock_ttl
. When that happens, the jobs appear to no-op as soon as they are picked up for processing. I'm not seeing errors, just jobs instantly completing without doing any work.The
lock_ttl
was added as part of an effort to address orphaned locks, so I think the solution here is straightforward -- remove thelock_ttl
and let the reaper clean up any orphaned locks.What I'm unclear on is what the intended behavior is for this use case -- while it makes sense to me that these jobs might not process after the
lock_ttl
expires, I might have expected something like an error.Can anyone shed some insight on this?
Beta Was this translation helpful? Give feedback.
All reactions