Class: ActiveRecord::ConnectionAdapters::ConnectionHandler

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

Instance Method Summary collapse

Instance Method Details

#clear_active_connections_with_data_fabric!Object



4
5
6
7
# File 'lib/data_fabric/extensions.rb', line 4

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