method

can_remove_no_wait?

rails latest stable - Class: ActiveRecord::ConnectionAdapters::ConnectionPool::Queue
can_remove_no_wait?()
private

A thread can remove an element from the queue without waiting if and only if the number of currently available connections is strictly greater than the number of waiting threads.