Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement configurable reconnect duration #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alexander-myltsev
Copy link

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

@fsvehla
Copy link

fsvehla commented Feb 25, 2014

@etaty Any feedback?

@kutchar
Copy link

kutchar commented May 13, 2014

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

  • Separate reconnection policy and retry policy
  • Allow customization of the above policies

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants