mirror of https://github.com/Siphonay/mastodon
Fix that Rails.cache information could not be sent via StatsD (#8831)
This commit is contained in:
parent
1e75e74f6b
commit
65f04e6046
|
@ -9,7 +9,7 @@ if ENV['STATSD_ADDR'].present?
|
||||||
::NSA.inform_statsd(statsd) do |informant|
|
::NSA.inform_statsd(statsd) do |informant|
|
||||||
informant.collect(:action_controller, :web)
|
informant.collect(:action_controller, :web)
|
||||||
informant.collect(:active_record, :db)
|
informant.collect(:active_record, :db)
|
||||||
informant.collect(:cache, :cache)
|
informant.collect(:active_support_cache, :cache)
|
||||||
informant.collect(:sidekiq, :sidekiq)
|
informant.collect(:sidekiq, :sidekiq)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue