We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b46dba9 commit c19760fCopy full SHA for c19760f
activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb
@@ -106,6 +106,12 @@ def check_version
106
end
107
108
109
+ # Each connection pool has one of these registries. They map execution
110
+ # contexts to query cache stores.
111
+ #
112
+ # The keys of the internal map are threads or fibers (whatever
113
+ # ActiveSupport::IsolatedExecutionState.context returns), and their
114
+ # associated values are their respective query cache stores.
115
class QueryCacheRegistry # :nodoc:
116
def initialize
117
@mutex = Mutex.new
0 commit comments