Skip to content

Commit b69ae67

Browse files
committed
Try fixing puma reporting to appsignal by loading credentials earlier
This might be lighter weight than a full preload_app or require "rails"
1 parent 284efe1 commit b69ae67

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

config/puma.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,7 @@
4444

4545
# Report stats to AppSignal
4646
plugin :appsignal
47+
48+
require_relative "../app/lib/credentials"
49+
50+
Credentials.load if ENV["DOPPLER_TOKEN"]

0 commit comments

Comments
 (0)