Skip to content

Commit

Permalink
Merge pull request #2282 from DFE-Digital/warn-log-level
Browse files Browse the repository at this point in the history
Set Sidekiq log level to warning
  • Loading branch information
thomasleese authored Jul 3, 2024
2 parents 076de2d + a8b0889 commit 03ad876
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config/initializers/sidekiq.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

url = ENV.fetch("REDIS_URL", "redis://localhost:6379/1")

Sidekiq.configure_server { |config| config.redis = { url: } }
Sidekiq.configure_server do |config|
config.redis = { url: }
config.logger.level = Logger::WARN
end

Sidekiq.configure_client { |config| config.redis = { url: } }

0 comments on commit 03ad876

Please sign in to comment.