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

Multiple Retries Before Giving Up #2

Open
sanketplus opened this issue Jun 23, 2020 · 1 comment
Open

Multiple Retries Before Giving Up #2

sanketplus opened this issue Jun 23, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@sanketplus
Copy link
Owner

Currently, a goroutine periodically pings on the connection that holds the lock. If a ping fails, it bails out and closes the connection.

  1. Confirm what happens to connection when a ping fails
  2. If connection is still kept in pool, consider multiple ping retries before giving up (and possibly make it configurable)
@sanketplus sanketplus added the enhancement New feature or request label Jun 26, 2020
@sanketplus
Copy link
Owner Author

After reading driver's code and golang sql wrapper

so most likely, retries do not make sense. Confirm this by doing a simulated run locally

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

No branches or pull requests

1 participant