diff options
| author | Peter Wagenet <peter.wagenet@gmail.com> | 2014-06-27 12:07:06 -0700 |
|---|---|---|
| committer | Peter Wagenet <peter.wagenet@gmail.com> | 2014-06-27 14:13:10 -0700 |
| commit | acee114ba00f67e485355b0eb3d7cb26bf283d6f (patch) | |
| tree | 2052b96aaa4d0eab0c2eda0f27011cba736caa27 /activerecord/lib/active_record/explain_registry.rb | |
| parent | 5add8b8d6d27afac9fe46bcee09cd341fb124294 (diff) | |
| download | rails-acee114ba00f67e485355b0eb3d7cb26bf283d6f.tar.gz rails-acee114ba00f67e485355b0eb3d7cb26bf283d6f.tar.bz2 rails-acee114ba00f67e485355b0eb3d7cb26bf283d6f.zip | |
Always instrument ActiveSupport::Cache
The current approach is broken because it uses a thread local value
which means on multi-threaded environments it has to be turned on
per thread. Secondly, ActiveSupport::Notifications does not
instrument items when there are not subscribers so this flag is
unnecessary.
Diffstat (limited to 'activerecord/lib/active_record/explain_registry.rb')
0 files changed, 0 insertions, 0 deletions
