0
0
Fork 0

Replace self-rolled statsd instrumention with localshred/nsa (#5118)

This commit is contained in:
Eugen Rochko 2017-09-29 03:16:44 +02:00 committed by GitHub
parent f4ca116ea8
commit 35a8cafa35
4 changed files with 19 additions and 22 deletions

View file

@ -90,11 +90,6 @@ Rails.application.configure do
config.action_mailer.delivery_method = ENV.fetch('SMTP_DELIVERY_METHOD', 'smtp').to_sym
config.to_prepare do
StatsD.backend = StatsD::Instrument::Backends::NullBackend.new if ENV['STATSD_ADDR'].blank?
Sidekiq::Logging.logger.level = Logger::WARN
end
config.action_dispatch.default_headers = {
'Server' => 'Mastodon',
'X-Frame-Options' => 'DENY',