etaty / rediscala

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

Implement configurable reconnect duration #28

Open alexander-myltsev opened 10 years ago

alexander-myltsev commented 10 years ago

Sometimes (e.g. in tests) there is no need to wait for 2 seconds to reconnect (e.g. 1 sec is enough).

fsvehla commented 10 years ago

@etaty Any feedback?

kutchar commented 10 years ago

If we are going down this path, might as well:

A good example of how this is done is DataStax's Java Driver for Cassandra: https://github.com/datastax/java-driver/tree/2.0/driver-core/src/main/java/com/datastax/driver/core/policies