Skip to content

Commit 99639eb

Browse files
Re-open semantic logger after fork
- This was done automatically in the puma setup due to hooks - after_fork hooks are missing from falcon so this needs to be done manually
1 parent 3e1bceb commit 99639eb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

config/initializers/falcon.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# frozen_string_literal: true
22

3+
ActiveSupport::ForkTracker.after_fork { SemanticLogger.reopen }
4+
35
if ENV["EXPORT_WEB_METRICS"] == "true"
46
require "prometheus_exporter/instrumentation"
57

0 commit comments

Comments
 (0)