Skip to content

Commit

Permalink
Merge pull request #5479 from janimo/puma-cleanup
Browse files Browse the repository at this point in the history
Remove legacy code from Puma config.
  • Loading branch information
javierm committed Apr 6, 2024
2 parents f9d9fe8 + 17e000a commit 00f4e7b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions config/puma/defaults.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,3 @@
puts "Refreshing Gemfile"
ENV["BUNDLE_GEMFILE"] = ""
end

before_fork do
ActiveRecord::Base.connection_pool.disconnect!
end

on_worker_boot do
ActiveSupport.on_load(:active_record) do
ActiveRecord::Base.establish_connection
end
end

0 comments on commit 00f4e7b

Please sign in to comment.