-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
rake resque:work aborts startup if the first job raises an uninitialized constant error #955
Comments
Here's the backtrace:
|
Yes, this should not kill the worker, for sure. |
Just updating this ticket -- it's worth mentioning that this was a job coming from resque-scheduler. I'm not sure if the code path is different there, but I'm trying to write a spec that proves it one way or another. |
Awesome, thanks. |
I have the same issue, how can I avoid that? Also posted the question here: |
Seeing this as well. There's no backtrace, so it's difficult to track down why there's a
|
Any solution for this? |
I have a solution to the |
Me having the same problem. Any solution for the NameError? |
Like I said, I believe I have a solution, but I would like to be able to reliably recreate the problem first. |
I am facing the same issue that the class is not found, i am using Contentful Scheduler https://github.com/contentful/contentful-scheduler.rb to publish and unpublish content and only while unpublishing contents i get this error randomly uninitialized constant Contentful::Scheduler::Tasks::Unpublish Did you mean? Contentful::Scheduler::Tasks::Publish |
AFAIK, this was something that changed from 1.23.0 to 1.24.1. I'd imagine that the intended behavior here, given resque's forking architecture, would be for the parent process to continue running, place the job into the failure queue, and move on to the next. Also, we're not using the new "dont' fork" settings added in recent versions.
The text was updated successfully, but these errors were encountered: