Permalink
Browse files

queue and signal no longer needed

  • Loading branch information...
1 parent 5dc7257 commit bf9e6c7c9b231207deaf75e5b71290df77614dc8 @tenderlove tenderlove committed Dec 30, 2011
Showing with 0 additions and 2 deletions.
  1. +0 −2 activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb
@@ -76,7 +76,6 @@ def initialize(spec)
# The cache of reserved connections mapped to threads
@reserved_connections = {}
- @queue = new_cond
@timeout = spec.config[:wait_timeout] || 5
# default max pool size to 5
@@ -214,7 +213,6 @@ def checkin(conn)
synchronize do
conn.run_callbacks :checkin do
conn.expire
- @queue.signal
end
end
end

0 comments on commit bf9e6c7

Please sign in to comment.