etaty / rediscala

Non-blocking, Reactive Redis driver for Scala (with Sentinel support)
Apache License 2.0
790 stars 142 forks source link

Sentinel onSentinelDown Issue #71

Closed mmoulou closed 8 years ago

mmoulou commented 9 years ago

Hi

I've a problem with SentinelMonitoredRedisClient when one of my sentinel instance is down, the sentinelClient Instance is removed from sentinelClients list but the actor try to reconnect to sentinel each 2 seconds.

In case when one or more sentinel instances will stay down, i'll have multiple actors tryin to reconnect to non-existing sentinel instances.

after search, i find that redisscala schedule reconnect when connection is closed (class RedisWorkerIO)

I'd like to not have this behavior in case when i use sentinelClient.

Thanks

mmoulou commented 9 years ago

Up

etaty commented 9 years ago

Hi, you are probably right, but i don't have the time to write a fix for sentinel. I invite you to submit a PR ;)

etaty commented 8 years ago

fixed in 1.6.0