Module: ActiveRecord::ConnectionAdapters::ConnectionPool::ExecutorHooks
Do not use. This module is for internal use only.
Relationships & Source Files | |
Defined in: | activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb |
Class Method Summary
Class Method Details
.complete(_)
[ GitHub ]# File 'activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb', line 192
def complete(_) ActiveRecord::Base.connection_handler.each_connection_pool do |pool| if (connection = pool.active_connection?) transaction = connection.current_transaction if transaction.closed? || !transaction.joinable? pool.release_connection end end end end
.run
[ GitHub ]# File 'activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb', line 188
def run # noop end