Module: ActiveRecord::ConnectionAdapters

Defined in:
lib/active_record/fiber_patches.rb,
lib/active_record/connection_adapters/mysql2_adapter.rb

Defined Under Namespace

Classes: ConnectionPool, FiberedMonitor, Mysql2Adapter, Mysql2Column

Class Method Summary collapse

Class Method Details

.fiber_poolsObject



6
7
8
# File 'lib/active_record/fiber_patches.rb', line 6

def self.fiber_pools
  @fiber_pools ||= []
end

.register_fiber_pool(fp) ⇒ Object



9
10
11
# File 'lib/active_record/fiber_patches.rb', line 9

def self.register_fiber_pool(fp)
  fiber_pools << fp
end