Skip to content

Commit bc31f5e

Browse files
committed
Add missing super in prune_thread_cache method
1 parent 17b0c0c commit bc31f5e

File tree

1 file changed

+1
-0
lines changed
  • activerecord/lib/active_record/connection_adapters/abstract

1 file changed

+1
-0
lines changed

activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ def query_cache_enabled
135135

136136
private
137137
def prune_thread_cache
138+
super
138139
dead_threads = @thread_query_caches.keys.reject(&:alive?)
139140
dead_threads.each do |dead_thread|
140141
@thread_query_caches.delete(dead_thread)

0 commit comments

Comments
 (0)