Skip to content

Commit d21c981

Browse files
authored
chore: tiny refactoring (#65)
1 parent d8f31b4 commit d21c981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/redis_client/cluster/node.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def send_ping(method, *args, **kwargs, &block)
181181
def scale_reading_clients
182182
keys = replica_disabled? ? @replications.keys : @replications.values.map(&:first)
183183
@clients.select { |k, _| keys.include?(k) }.values.sort_by do |client|
184-
::RedisClient::Cluster::NodeKey.build_from_host_port(client.config.host, client.config.port)
184+
"#{client.config.host}-#{client.config.port}"
185185
end
186186
end
187187

0 commit comments

Comments
 (0)