Open alexander-myltsev opened 10 years ago
@etaty Any feedback?
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
Sometimes (e.g. in tests) there is no need to wait for 2 seconds to reconnect (e.g. 1 sec is enough).