-
-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unhandled GoodJob::AdvisoryLockable::RecordAlreadyAdvisoryLockedError
errors
#1446
Comments
Thanks for opening this issue. And for sharing the stack traces! Super helpful 🙇 I think the
From your stacktrace (very helpful!) the good_job/lib/good_job/notifier.rb Lines 264 to 265 in fa3660d
I'm planning to remove that advisory lock in the heartbeat, because it is very unstable in production environments. That's tracked in #1447 |
Many thanks for taking a look at this, we'll track the other issue 👍 |
Hello!
We're seeing a high number of
GoodJob::AdvisoryLockable::RecordAlreadyAdvisoryLockedError
which seems to happen with one of our crons that runs every 10 minutes.We run a few different queues under separate deployments with the
--enable-cron
flag set on all. As they're share the same cron config, I assume they all try to create the same cronjob and end up raising the exception.Couple of questions
--enable-cron
flag set?The text was updated successfully, but these errors were encountered: