From fa0cf24f6dd9385fbdacb4fc30b71dcb94a193a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Bol=C3=ADvar?= Date: Tue, 26 Nov 2024 12:41:55 +0100 Subject: [PATCH] Uninstall puma_worker_killer --- Gemfile | 1 - Gemfile.lock | 6 ------ config/puma.rb | 6 ------ 3 files changed, 13 deletions(-) diff --git a/Gemfile b/Gemfile index 46235f26d..10961a9ac 100644 --- a/Gemfile +++ b/Gemfile @@ -54,7 +54,6 @@ group :production do gem "dalli" gem "lograge" gem "matrix" - gem "puma_worker_killer" # Used to restart puma workers every 6h and free memory gem "rack_password" gem "rack-ssl-enforcer" gem "rack-timeout" # Let's kill long-running requests after the Heroku router has responded to diff --git a/Gemfile.lock b/Gemfile.lock index bf8fbf1f3..4ace674ae 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -514,8 +514,6 @@ GEM base64 (>= 0.1.0) csv (>= 3.0.0) geom2d (0.4.1) - get_process_mem (0.2.7) - ffi (~> 1.0) globalid (1.2.1) activesupport (>= 6.1) graphql (2.0.31) @@ -721,9 +719,6 @@ GEM public_suffix (6.0.1) puma (6.4.2) nio4r (~> 2.0) - puma_worker_killer (0.3.1) - get_process_mem (~> 0.2) - puma (>= 2.7) racc (1.8.1) rack (2.2.10) rack-attack (6.7.0) @@ -1022,7 +1017,6 @@ DEPENDENCIES origami progressbar puma - puma_worker_killer rack-ssl-enforcer rack-timeout rack_password diff --git a/config/puma.rb b/config/puma.rb index 6ce5169b9..e49936482 100644 --- a/config/puma.rb +++ b/config/puma.rb @@ -9,9 +9,3 @@ port ENV.fetch("PORT", nil) || 3000 environment ENV.fetch("RACK_ENV", nil) || "development" - -before_fork do - require "puma_worker_killer" - - PumaWorkerKiller.enable_rolling_restart -end