method
remove_connection_pool
rails latest stable - Class:
ActiveRecord::ConnectionAdapters::ConnectionHandler
remove_connection_pool(connection_name, role: ActiveRecord::Base.current_role, shard: ActiveRecord::Base.current_shard)public
No documentation available.
# File activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb, line 256
def remove_connection_pool(connection_name, role: ActiveRecord::Base.current_role, shard: ActiveRecord::Base.current_shard)
if pool_manager = get_pool_manager(connection_name)
disconnect_pool_from_pool_manager(pool_manager, role, shard)
end
end