README.md in nogara-redis_failover-1.0.5 vs README.md in nogara-redis_failover-1.0.6
- old
+ new
@@ -149,9 +149,10 @@
:logger - logger override (optional)
:retry_failure - indicate if failures should be retried (default true)
:max_retries - max retries for a failure (default 3)
:safe_mode - indicates if safe mode is used or not (default true)
:master_only - indicates if only redis master is used (default false)
+ :verify_role - verify the actual role of a redis node before every command (default true)
The RedisFailover::Client also supports a custom callback that will be invoked whenever the list of redis clients changes. Example usage:
RedisFailover::Client.new(:zkservers => 'localhost:2181,localhost:2182,localhost:2183') do |client|
client.on_node_change do |master, slaves|