2
0

Update to puma 7 (#36238)

This commit is contained in:
David Roetzel
2025-09-23 15:40:04 +02:00
committed by GitHub
parent 82f5901a3f
commit 37cec638df
3 changed files with 5 additions and 5 deletions

View File

@@ -27,7 +27,7 @@ if ENV['MASTODON_PROMETHEUS_EXPORTER_ENABLED'] == 'true'
end
end
on_worker_boot do
before_worker_boot do
# Ruby process metrics (memory, GC, etc)
PrometheusExporter::Instrumentation::Process.start(type: 'puma')
@@ -44,7 +44,7 @@ if ENV['MASTODON_PROMETHEUS_EXPORTER_ENABLED'] == 'true'
end
end
on_worker_boot do
before_worker_boot do
ActiveSupport.on_load(:active_record) do
ActiveRecord::Base.establish_connection
end