Module: ActiveRecord::ConnectionAdapters

Defined in:
lib/active_record/patches.rb,
lib/active_record/connection_adapters/em_postgresql_adapter.rb

Defined Under Namespace

Classes: ConnectionPool, EmPostgreSQLAdapter, FiberedMonitor

Class Method Summary collapse

Class Method Details

.fiber_poolsObject



4
5
6
# File 'lib/active_record/patches.rb', line 4

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

.register_fiber_pool(fp) ⇒ Object



7
8
9
# File 'lib/active_record/patches.rb', line 7

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