-
Notifications
You must be signed in to change notification settings - Fork 90
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
undefined method `queue_adapter_name' for nil #196
Comments
Hey @zaychoer thanks for reporting this! This looks like an scenario I'm not handling gracefully 😅 Is it possible one/some of your recurring task classes doesn't exist in your app? From these:
Can you open a Rails console and see if they're defined? |
Hey, @rosa , that was my mistake. After checking, I realized that the task class was inside a directory. After adding the directory name before the task class, it ran well. Here is the fixed configuration:
|
Oh, great @zaychoer, thanks a lot for checking and confirming! 🙏 I'll make sure this case is handled better, and you get a better error or warning about this. |
am I missing setup for recurring tasks ?
i have already added solid_queue to the application configuration and followed the documentation.
other tasks are running well, except for the recurring task.
config.active_job.queue_adapter = :solid_queue
here is solid_queue.yml
The text was updated successfully, but these errors were encountered: