Skip to content

Commit

Permalink
Uninstall puma_worker_killer
Browse files Browse the repository at this point in the history
  • Loading branch information
fblupi committed Nov 26, 2024
1 parent 566517e commit fa0cf24
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 0 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -1022,7 +1017,6 @@ DEPENDENCIES
origami
progressbar
puma
puma_worker_killer
rack-ssl-enforcer
rack-timeout
rack_password
Expand Down
6 changes: 0 additions & 6 deletions config/puma.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit fa0cf24

Please sign in to comment.