diff --git a/config/puma.rb b/config/puma.rb index d34c14b425..8f0d3bd814 100644 --- a/config/puma.rb +++ b/config/puma.rb @@ -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'