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

improve connection handling #1006

Closed
aheckmann opened this issue Jul 13, 2012 · 0 comments
Closed

improve connection handling #1006

aheckmann opened this issue Jul 13, 2012 · 0 comments

Comments

@aheckmann
Copy link
Collaborator

buffer until connected
once disconnected
  option 1: fail fast
    just return errors
  option 2: buffer
    buffer cmds until reconnection
    if reconnection takes > optional timeout
      fail buffered cmds, keep returning errors until reconnection

current driver behavior:
  no buffering until connected
   auto_reconnect buffers cmds when disconnected until reconnection
   if auto_reconnect = false
      no cmds are buffered, errors are returned
      but you must reconnect manually ...
      HOWEVER there isn't a graceful way to do this yet. need to make changes to driver
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

No branches or pull requests

1 participant