Skip to content

Instantly share code, notes, and snippets.

@ghjnut

ghjnut/hash.rb Secret

Created February 4, 2016 17:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ghjnut/1ad1f22d3d7ce4d6ffd7 to your computer and use it in GitHub Desktop.
Save ghjnut/1ad1f22d3d7ce4d6ffd7 to your computer and use it in GitHub Desktop.
{"masters"=>
[{:address=>"127.0.0.1",
:port=>"6379",
:quorum=>2,
:down_after_milliseconds=>30000,
:unixsocket=>"/tmp/redis-sentinel.sock",
:unixsocketperm=>"777",
:can_failover=>"yes",
:parallel_syncs=>1,
:failover_timeout=>900000}]}},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment