Skip to content

Commit

Permalink
Document new option for Sentinels Master group name
Browse files Browse the repository at this point in the history
  • Loading branch information
BookOfGreg committed Jul 17, 2017
1 parent 54cf87f commit ef41358
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/redis.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {})
Expand Down

0 comments on commit ef41358

Please sign in to comment.