Skip to content

Commit

Permalink
rails6ように変更
Browse files Browse the repository at this point in the history
  • Loading branch information
shiratsu committed Jul 13, 2021
1 parent 1c0abed commit 3567856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/octopus/proxy_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def initialize_shards(config)
self.shards_slave_groups = HashWithIndifferentAccess.new
self.slave_groups = HashWithIndifferentAccess.new
self.groups = {}
self.config = ActiveRecord::Base.connection_pool_without_octopus.spec.config
self.config = ActiveRecord::Base.connection_pool_without_octopus.pool_config

unless config.nil?
self.entire_sharded = config['entire_sharded']
Expand Down

0 comments on commit 3567856

Please sign in to comment.