method

try_to_checkout_new_connection

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 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.