method

each_pool_config

Importance_0
v8.0.0 - Show latest stable - 0 notes - Class: PoolManager
each_pool_config(role = nil, &block) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/pool_manager.rb, line 26
      def each_pool_config(role = nil, &block)
        if role
          @role_to_shard_mapping[role].each_value(&block)
        else
          @role_to_shard_mapping.each_value do |shard_map|
            shard_map.each_value(&block)
          end
        end
      end
Register or log in to add new notes.