disconnect!()
public
Disconnects all connections in the pool, and clears the pool.
Show source
def disconnect!
synchronize do
@reserved_connections.clear
@connections.each do |conn|
checkin conn
conn.disconnect!
end
@connections = []
@available.clear
end
end