Skip to content

Commit 0d48005

Browse files
authored
Remove legacy AR connection boot from puma config (mastodon#36757)
1 parent 59e0ead commit 0d48005

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

config/puma.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,6 @@
4444
end
4545
end
4646

47-
before_worker_boot do
48-
ActiveSupport.on_load(:active_record) do
49-
ActiveRecord::Base.establish_connection
50-
end
51-
end
52-
5347
plugin :tmp_restart
5448

5549
set_remote_address(proxy_protocol: :v1) if ENV['PROXY_PROTO_V1'] == 'true'

0 commit comments

Comments
 (0)