-
Notifications
You must be signed in to change notification settings - Fork 4
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
Experience with sidekiq-repeat #10
Comments
I don't think we had any problems or found any bugs in the gem itself. The biggest flaw I see at the moment is the documentation, because of the class level |
Not sure if I follow: If you want the jobs to be scheduled in development, you need to manually require them? I thought the sidekiq server process would use Rails eager loading? |
As far as I know Sidekiq switched to the Rails auto- and reloader with version 4. We have this hack in the if Sidekiq.server? && Rails.env == 'development'
# Trigger auto loading of all workers to ensure repeating jobs are registered
Dir[Rails.root.join('app/workers/*.rb')].each { |f| File.basename(f, '.rb').camelcase.constantize }
end |
Uh how annoying... Maybe put this in the README? |
Good idea. Maybe we could put that logic into a Railtie or in a |
Hi guys,
As my last message for today, I'd like to ask whether you had any sort of bad experience with this gem in the last couple years? I've used it in other projects as well and never had any reason to look at anything else, just wondered whether at FlavourSys something came up.
Thanks a lot! Have a wonderful weekend, and hope to see you soon for 🍺
all the best
The text was updated successfully, but these errors were encountered: