diff --git a/Gemfile b/Gemfile index 9006fa138c..158d206b8e 100644 --- a/Gemfile +++ b/Gemfile @@ -75,6 +75,5 @@ group :production do gem "sentry-ruby" gem "sentry-sidekiq" gem "sidekiq", "~> 6.0" - gem "sidekiq_alive", "~> 2.2" gem "sidekiq-scheduler", "~> 5.0" end diff --git a/Gemfile.lock b/Gemfile.lock index dd8dda2d6e..6629bac9bd 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -972,10 +972,6 @@ GEM rufus-scheduler (~> 3.2) sidekiq (>= 6, < 8) tilt (>= 1.4.0) - sidekiq_alive (2.3.1) - rack (< 3) - sidekiq (>= 5, < 8) - webrick (>= 1, < 2) simplecov (0.21.2) docile (~> 1.1) simplecov-html (~> 0.11) @@ -1070,7 +1066,6 @@ GEM webpush (1.1.0) hkdf (~> 0.2) jwt (~> 2.0) - webrick (1.8.1) websocket-driver (0.7.6) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) @@ -1139,7 +1134,6 @@ DEPENDENCIES sentry-sidekiq sidekiq (~> 6.0) sidekiq-scheduler (~> 5.0) - sidekiq_alive (~> 2.2) spring (~> 2.0) spring-watcher-listen (~> 2.0) sys-filesystem diff --git a/config/environments/production.rb b/config/environments/production.rb index 32c042b1d7..4afe55e935 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -148,7 +148,7 @@ config.ssl_options = { redirect: { - exclude: ->(request) { /health_check|sidekiq_alive/.match?(request.path) } + exclude: ->(request) { /health_check/.match?(request.path) } } } diff --git a/config/initializers/sidekiq_alive.rb b/config/initializers/sidekiq_alive.rb deleted file mode 100644 index 944ae08e0a..0000000000 --- a/config/initializers/sidekiq_alive.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -return unless Rails.env.production? - -SidekiqAlive.setup do |config| - config.path = "/sidekiq_alive" -end