From ef41358e9512cc103cbcf675f88565d1ebe92094 Mon Sep 17 00:00:00 2001 From: Greg Date: Mon, 17 Jul 2017 09:10:18 +0100 Subject: [PATCH] Document new option for Sentinels Master group name --- lib/redis.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/redis.rb b/lib/redis.rb index c61d4838e..b83407748 100644 --- a/lib/redis.rb +++ b/lib/redis.rb @@ -44,6 +44,7 @@ def self.current=(redis) # @option options [Boolean] :inherit_socket (false) Whether to use socket in forked process or not # @option options [Array] :sentinels List of sentinels to contact # @option options [Symbol] :role (:master) Role to fetch via Sentinel, either `:master` or `:slave` + # @option options [String] :master_name Master group name according to the `monitor` line in Sentinel config # # @return [Redis] a new client instance def initialize(options = {})