From e32700c81b7df76c079a05875f34c28184ead68d Mon Sep 17 00:00:00 2001 From: carolyncole <1599081+carolyncole@users.noreply.github.com> Date: Thu, 12 Sep 2024 09:19:23 -0400 Subject: [PATCH] Updating the retry count to not bring the server out of commission (#1923) fixes #1921 --- Gemfile.lock | 26 +++++++++++++------------- config/initializers/health_monitor.rb | 1 + 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 3187a98e..d320ab6a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -127,7 +127,7 @@ GEM rubocop-rspec bootsnap (1.11.1) msgpack (~> 1.2) - builder (3.2.4) + builder (3.3.0) byebug (11.1.3) capistrano (3.17.0) airbrussh (>= 1.0.0) @@ -154,7 +154,7 @@ GEM coderay (1.1.3) coercible (1.0.0) descendants_tracker (~> 0.0.1) - concurrent-ruby (1.3.1) + concurrent-ruby (1.3.4) connection_pool (2.4.1) coveralls_reborn (0.28.0) simplecov (~> 0.22.0) @@ -200,7 +200,7 @@ GEM ed25519 (1.3.0) equivalent-xml (0.6.0) nokogiri (>= 1.4.3) - erubi (1.12.0) + erubi (1.13.0) eventmachine (1.2.7) factory_bot (6.2.1) activesupport (>= 5.0.0) @@ -224,7 +224,7 @@ GEM tilt hashdiff (1.0.1) hashie (3.6.0) - health-monitor-rails (11.1.0) + health-monitor-rails (12.3.0) railties (>= 6.1) honeybadger (5.2.1) i18n (1.14.5) @@ -270,13 +270,13 @@ GEM thin marcel (1.0.2) matrix (0.4.2) - method_source (1.0.0) + method_source (1.1.0) mime-types (3.4.1) mime-types-data (~> 3.2015) mime-types-data (3.2022.0105) mini_mime (1.1.5) mini_portile2 (2.8.7) - minitest (5.23.1) + minitest (5.25.1) msgpack (1.5.1) mustermann (2.0.2) ruby2_keywords (~> 0.0.1) @@ -297,12 +297,12 @@ GEM net-protocol net-ssh (7.0.0.beta1) nio4r (2.7.0) - nokogiri (1.16.5) + nokogiri (1.16.7) mini_portile2 (~> 2.8.2) racc (~> 1.4) - nokogiri (1.16.5-x86_64-darwin) + nokogiri (1.16.7-x86_64-darwin) racc (~> 1.4) - nokogiri (1.16.5-x86_64-linux) + nokogiri (1.16.7-x86_64-linux) racc (~> 1.4) omniauth (2.1.2) hashie (>= 3.4.6) @@ -328,7 +328,7 @@ GEM public_suffix (5.0.3) puma (5.6.8) nio4r (~> 2.0) - racc (1.8.0) + racc (1.8.1) rack (2.2.9) rack-mini-profiler (2.3.4) rack (>= 1.2.0) @@ -371,7 +371,7 @@ GEM rake (>= 12.2) thor (~> 1.0) rainbow (3.1.1) - rake (13.1.0) + rake (13.2.1) rb-fsevent (0.11.1) rb-inotify (0.10.1) ffi (~> 1.0) @@ -494,7 +494,7 @@ GEM daemons (~> 1.0, >= 1.0.9) eventmachine (~> 1.0, >= 1.0.4) rack (>= 1, < 3) - thor (1.3.1) + thor (1.3.2) thread_safe (0.3.6) tilt (2.0.11) time (0.2.2) @@ -546,7 +546,7 @@ GEM xpath (3.2.0) nokogiri (~> 1.8) yard (0.9.36) - zeitwerk (2.6.15) + zeitwerk (2.6.18) PLATFORMS ruby diff --git a/config/initializers/health_monitor.rb b/config/initializers/health_monitor.rb index be73e86c..8f14e297 100644 --- a/config/initializers/health_monitor.rb +++ b/config/initializers/health_monitor.rb @@ -9,6 +9,7 @@ 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 end config.error_callback = proc do |e|