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 = {})