Remove legacy AR connection boot from puma config (#36757)

This commit is contained in:
Matt Jankowski authored and GitHub committed 2025-11-06 14:36:23 +00:00
1 parent 59e0ead418
commit 0d48005b8a
1 file changed
-6
-6
View File
@@ -44,12 +44,6 @@ if ENV['MASTODON_PROMETHEUS_EXPORTER_ENABLED'] == 'true'
end
end
before_worker_boot do
ActiveSupport.on_load(:active_record) do
ActiveRecord::Base.establish_connection
end
end
plugin :tmp_restart
set_remote_address(proxy_protocol: :v1) if ENV['PROXY_PROTO_V1'] == 'true'