Flowdock
method

try_to_checkout_new_connection

Importance_1
v5.0.0.1 - Show latest stable - 0 notes - Class: ActiveRecord::ConnectionAdapters::ConnectionPool
try_to_checkout_new_connection() private

If the pool is not at a +@size+ limit, establish new connection. Connecting to the DB is done outside main synchronized section.

Show source
Register or log in to add new notes.