flyerhzm / redis-sentinel

another redis automatic master/slave failover solution for ruby by using built-in redis sentinel (deprecated)
MIT License
188 stars 67 forks source link

prevents master discovery to get stuck in endless loop if sentinels are ... #42

Closed gfriebe closed 10 years ago

gfriebe commented 10 years ago

We came across an annoying issue at our systems when the sentinal server was not reachable. Due to the neverending master discovery loop all processes were soon busy, completely bringing our plattform to a halt. This should prevent this and raise an exception.

flyerhzm commented 10 years ago

@gfriebe please update README to describe count option.

gfriebe commented 10 years ago

Not much to comment. but added a line.