method

try_to_checkout_new_connection

Importance_1
v7.0.0 - 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.