]> cat aescling's git repositories - mastodon.git/commitdiff
Fix that Rails.cache information could not be sent via StatsD (#8831)
authorYamagishi Kazutoshi <ykzts@desire.sh>
Sat, 29 Sep 2018 22:05:59 +0000 (07:05 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Sat, 29 Sep 2018 22:05:59 +0000 (00:05 +0200)
config/initializers/statsd.rb

index 45702ac94de671b14563ce1de24ee2646832a66f..ce83fd9de2d484aec51dbcc223081d427559a3de 100644 (file)
@@ -9,7 +9,7 @@ if ENV['STATSD_ADDR'].present?
   ::NSA.inform_statsd(statsd) do |informant|
     informant.collect(:action_controller, :web)
     informant.collect(:active_record, :db)
-    informant.collect(:cache, :cache)
+    informant.collect(:active_support_cache, :cache)
     informant.collect(:sidekiq, :sidekiq)
   end
 end