Skip to content

Commit

Permalink
Merge pull request #3320 from betagouv/fix-deploy
Browse files Browse the repository at this point in the history
Sidekiq failures config outside
  • Loading branch information
clairezed authored Jan 25, 2024
2 parents 658c5d4 + 0f3c5e9 commit 45980dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/initializers/sidekiq.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Sidekiq.failures_default_mode = :exhausted

Sidekiq.configure_server do |config|
config.redis = { url: ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } }
config.failures_default_mode = :exhausted
end

Sidekiq.configure_client do |config|
Expand Down

0 comments on commit 45980dd

Please sign in to comment.