diff config/config_init.rb @ 498:300bac944674

Remove newrelic To be replaced with sentry (maybe).
author nanaya <me@nanaya.net>
date Sun, 15 Dec 2024 22:31:14 +0900
parents a5eae5b07abf
children d2ef59c9a4b4
line wrap: on
line diff
--- a/config/config_init.rb	Sun Dec 15 22:19:46 2024 +0900
+++ b/config/config_init.rb	Sun Dec 15 22:31:14 2024 +0900
@@ -1,6 +1,5 @@
 $cfg = {}
 $cfg[:secret_key] = ENV["ZP_SECRET_KEY"]
-$cfg[:newrelic] = ENV["ZP_NEWRELIC"] == 1
 
 env = ENV["RAILS_ENV"] || ENV["RACK_ENV"] || "development"
 config_local = File.expand_path("config_local_#{env}.rb", __dir__)
@@ -8,11 +7,9 @@
 require config_local if File.exist? config_local
 
 $cfg[:standalone] = true if $cfg[:standalone].nil?
-$cfg[:newrelic] = false if $cfg[:newrelic].nil?
 $cfg[:log_to_stdout] = true if $cfg[:log_to_stdout].nil?
 
 $cfg[:bundler_groups] ||= [:default, env]
 $cfg[:bundler_groups] << "standalone" if $cfg[:standalone]
-$cfg[:bundler_groups] << "newrelic" if $cfg[:newrelic]
 
 $cfg.freeze