We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For example, we need to define sidekiq_options and sidekiq_retry_in options.
sidekiq_options
sidekiq_retry_in
Now we did it in this way (sort of 'decorator' for sidekiq.rb), but it's probably not the best solution.
# config/initializers/vero_sidekiq_worker.rb module Vero class SidekiqWorker include ::Sidekiq::Worker sidekiq_options retry: 2 sidekiq_retry_in { |count| 60 } sidekiq_retries_exhausted do |msg| Rails.logger.error "Failed #{msg['class']} with #{msg['args']}: #{msg['error_message']}" end end end
The text was updated successfully, but these errors were encountered:
👍
Sorry, something went wrong.
Add instructions for configuring Sidekiq worker
da96042
Relevant links: * getvero#54 * https://github.com/getvero/vero/pull/56/files * getvero#57
6a34780
No branches or pull requests
For example, we need to define
sidekiq_options
andsidekiq_retry_in
options.Now we did it in this way (sort of 'decorator' for sidekiq.rb), but it's probably not the best solution.
The text was updated successfully, but these errors were encountered: