-
-
Notifications
You must be signed in to change notification settings - Fork 199
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
NoMethodError: undefined method `<' for nil (process.rb:125 in stale?) #1363
Comments
Thanks for the bug report! That's strange. Here's the line in question: good_job/app/models/good_job/process.rb Line 125 in 923778d
...the exception would imply that the Process record hasn't been persisted. Which is unexpected! I'll dig into what might be happening here. That's weird! |
I'm experiencing the same issue. Here are some details about my setup: GoodJob version: 3.29.2 |
Quick question, are you seeing these exceptions all come from the same place in the stacktrace? Particularly these first 6 lines?
|
Yes, same stacktrace.
|
Oh wow. That is much more exceptions than I was imagining! 😦 Are you by chance using a forking webserver (like Puma with multiple WEB_CONCURRENCY)? I'm just wondering because I'm not seeing this on any of my production applications and my only idea is that things are being initialized differently before the process forks. I just made a PR that I think could solve this problem but I'm not 100% sure. I'll release that this evening and hopefully it fixes it: #1369 |
Since doing a recent bundle update I am getting these exceptions randomly from random servers:
Any ideas what could be causing this?
The text was updated successfully, but these errors were encountered: