Remove cache intrumentation

It doesnt work in rails 5 and apparently it was introduced to debug already deleted products cache in staging

See this commit that introduced it 10a79d5a65
This commit is contained in:
Luis Ramos
2021-01-14 23:45:05 +00:00
parent d06c1fa665
commit 02a1116fff

View File

@@ -1,7 +1,4 @@
unless Rails.env.production?
# Enable cache instrumentation, which is disabled by default
ActiveSupport::Cache::Store.instrument = true
# Log message in the same default logger
ActiveSupport::Cache::Store.logger = Rails.logger
end