We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a363147 commit 32aaf45Copy full SHA for 32aaf45
lib/async/redis/sentinels.rb
@@ -50,7 +50,7 @@ def resolve_address
50
51
def resolve_master
52
@sentinel_endpoints.each do |sentinel_endpoint|
53
- client = Client.new(sentinel_endpoint)
+ client = Client.new(sentinel_endpoint, protocol: @protocol)
54
55
begin
56
address = client.call('sentinel', 'get-master-addr-by-name', @master_name)
@@ -66,7 +66,7 @@ def resolve_master
66
67
def resolve_slave
68
69
70
71
72
reply = client.call('sentinel', 'slaves', @master_name)
0 commit comments