Skip to content
This repository
Browse code

queue and signal no longer needed

  • Loading branch information...
commit bf9e6c7c9b231207deaf75e5b71290df77614dc8 1 parent 5dc7257
Aaron Patterson tenderlove authored
2  activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb
@@ -76,7 +76,6 @@ def initialize(spec)
76 76 # The cache of reserved connections mapped to threads
77 77 @reserved_connections = {}
78 78
79   - @queue = new_cond
80 79 @timeout = spec.config[:wait_timeout] || 5
81 80
82 81 # default max pool size to 5
@@ -214,7 +213,6 @@ def checkin(conn)
214 213 synchronize do
215 214 conn.run_callbacks :checkin do
216 215 conn.expire
217   - @queue.signal
218 216 end
219 217 end
220 218 end

0 comments on commit bf9e6c7

Please sign in to comment.
Something went wrong with that request. Please try again.