class ConnectionPool::TimedStack

def fetch_connection(options = nil)

This method must return a connection from the stack.

This is an extension point for TimedStack and is called with a mutex.
#
def fetch_connection(options = nil)
  @que.pop&.first
end