From 60ca161b0f9d08ebdeb9c2791e29397a5bd3f9b6 Mon Sep 17 00:00:00 2001 From: Jim Benton Date: Mon, 2 Oct 2023 20:51:12 -0500 Subject: [PATCH] Update puma config for Rails 6 and puma 6. --- config/puma.rb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/config/puma.rb b/config/puma.rb index a4e630516..6ec2d27a1 100644 --- a/config/puma.rb +++ b/config/puma.rb @@ -36,12 +36,3 @@ # Allow puma to be restarted by `rails restart` command. plugin :tmp_restart - -before_fork do - Barnes.start -end - -on_worker_boot do - # Valid on Rails 4.1+ using the `config/database.yml` method of setting `pool` size - ActiveRecord::Base.establish_connection -end