Skip to content

Commit

Permalink
set sidekiq_options retry to 3 for the GenericWorker
Browse files Browse the repository at this point in the history
  • Loading branch information
vasconsaurus committed Sep 25, 2024
1 parent c166699 commit 3959f36
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/workers/generic_worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ class GenericWorker

include Sidekiq::Worker

sidekiq_options retry: 3

def perform(klass_name, klass_method, *method_args)
klass = klass_name.constantize
options = method_args.extract_options!.with_indifferent_access
Expand Down

0 comments on commit 3959f36

Please sign in to comment.