method

no_wait_poll

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

Remove and return the head of the queue if the number of available elements is strictly greater than the number of threads currently waiting. Otherwise, return nil.