Update to puma 7 (#36238)
This commit is contained in:
1 parent
82f5901a3f
commit
37cec638df
3 files changed
+5
-5
No files matched your search
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user