Class: ActiveRecord::ConnectionAdapters::ConnectionHandler

Inherits:
Object
  • Object
show all
Defined in:
lib/data_fabric/ar22.rb

Instance Method Summary collapse

Instance Method Details

#clear_active_connections_with_data_fabric!Object



3
4
5
6
# File 'lib/data_fabric/ar22.rb', line 3

def clear_active_connections_with_data_fabric!
  clear_active_connections_without_data_fabric!
  DataFabric::ConnectionProxy.shard_pools.each_value { |pool| pool.release_connection }
end