Update to puma 7 (#36238)

This commit is contained in:
David Roetzel authored and GitHub committed 2025-09-23 13:40:04 +00:00
1 parent 82f5901a3f
commit 37cec638df
3 files changed
+5 -5

No files matched your search

+2 -2
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