Skip to content

Commit

Permalink
fix(k8s): add sidekiq timeout and reconnect config for k8s
Browse files Browse the repository at this point in the history
  • Loading branch information
moustachu committed Aug 29, 2024
1 parent f47b9c9 commit 09bd7ec
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions config/initializers/sidekiq.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# frozen_string_literal: true

Sidekiq.configure_client do |config|
config.redis = {
network_timeout: 10,
pool_timeout: 10,
reconnect_attempts: 0
}
end

0 comments on commit 09bd7ec

Please sign in to comment.