Remove puma worker killer (#1575)
This commit is contained in:
parent
38091ba486
commit
b8117775e3
3 changed files with 0 additions and 10 deletions
1
Gemfile
1
Gemfile
|
|
@ -66,7 +66,6 @@ gem "pg", "~> 1.1"
|
|||
gem "pry", "~> 0.12"
|
||||
gem "pry-rails", "~> 0.3"
|
||||
gem "puma", "~> 3.12"
|
||||
gem "puma_worker_killer", "~> 0.1"
|
||||
gem "pundit", "~> 2.0"
|
||||
gem "pusher", "~> 1.3"
|
||||
gem "pusher-push-notifications", "~> 1.0"
|
||||
|
|
|
|||
|
|
@ -634,9 +634,6 @@ GEM
|
|||
pry (>= 0.10.4)
|
||||
public_suffix (3.0.3)
|
||||
puma (3.12.0)
|
||||
puma_worker_killer (0.1.0)
|
||||
get_process_mem (~> 0.2)
|
||||
puma (>= 2.7, < 4)
|
||||
pundit (2.0.0)
|
||||
activesupport (>= 3.0.0)
|
||||
pundit-matchers (1.6.0)
|
||||
|
|
@ -994,7 +991,6 @@ DEPENDENCIES
|
|||
pry-byebug (~> 3.6)
|
||||
pry-rails (~> 0.3)
|
||||
puma (~> 3.12)
|
||||
puma_worker_killer (~> 0.1)
|
||||
pundit (~> 2.0)
|
||||
pundit-matchers (~> 1.6)
|
||||
pusher (~> 1.3)
|
||||
|
|
|
|||
|
|
@ -16,8 +16,3 @@ on_worker_boot do
|
|||
# See: https://devcenter.heroku.com/articles/deploying-rails-applications-with-the-puma-web-server#on-worker-boot
|
||||
ActiveRecord::Base.establish_connection
|
||||
end
|
||||
|
||||
before_fork do
|
||||
require "puma_worker_killer"
|
||||
PumaWorkerKiller.enable_rolling_restart(12 * 3600) # 12 hours in seconds
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue