Skip to content

Commit ef41358

Browse files
committed
Document new option for Sentinels Master group name
1 parent 54cf87f commit ef41358

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/redis.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ def self.current=(redis)
4444
# @option options [Boolean] :inherit_socket (false) Whether to use socket in forked process or not
4545
# @option options [Array] :sentinels List of sentinels to contact
4646
# @option options [Symbol] :role (:master) Role to fetch via Sentinel, either `:master` or `:slave`
47+
# @option options [String] :master_name Master group name according to the `monitor` line in Sentinel config
4748
#
4849
# @return [Redis] a new client instance
4950
def initialize(options = {})

0 commit comments

Comments
 (0)