Skip to content

Commit

Permalink
Made redis non critical (#1949)
Browse files Browse the repository at this point in the history
Also adjusted values so that we will know about a backup sooner now that it will not take the servers down
  • Loading branch information
carolyncole authored Sep 26, 2024
1 parent c0843b3 commit 5caab35
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions config/initializers/health_monitor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
config.path = :health

config.sidekiq.configure do |sidekiq_config|
sidekiq_config.latency = 12.hours
sidekiq_config.queue_size = 20_000
sidekiq_config.maximum_amount_of_retries = 999_999 # this is really large becuase we don't really want to take the server out of rotation for this
sidekiq_config.latency = 6.hours
sidekiq_config.queue_size = 10_000
sidekiq_config.maximum_amount_of_retries = 100
sidekiq_config.critical = false
end

config.error_callback = proc do |e|
Expand Down

0 comments on commit 5caab35

Please sign in to comment.