Flowdock
method

acquire_connection

Importance_1
Ruby on Rails latest stable (v4.2.1) - 0 notes - Class: ActiveRecord::ConnectionAdapters::ConnectionPool
acquire_connection() private

Acquire a connection by one of 1) immediately removing one from the queue of available connections, 2) creating a new connection if the pool is not at capacity, 3) waiting on the queue for a connection to become available.

Raises:

  • ConnectionTimeoutError if a connection could not be acquired

Show source
Register or log in to add new notes.