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