-
Notifications
You must be signed in to change notification settings - Fork 20
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
better error handling - while establishing connection #153
Comments
The problem here is that the retry logic is consentrated in I would actually prefer to generalize the retry logic in tinman (without excessive boiler plate). |
agree. |
@bobinson - is that something you'd be interested in working on? We could create an issue with some very clear acceptance criteria. |
@relativityboy - yes, I will be interested in giving it a try |
Right now while establishing connection if tinman receives an error from the server like the example, given below, the connection is aborted. While once the connection is establishes we are retrying for
MAX_RETRY
times. In a similar fashion, if we retry or wait a few seconds based on the error message from the server, that will be helpful.A useful scenario is when an automated test is run, messages like 'Unable to acquire database lock' can be used to continue trying to start the test using tinman instead of just aborting.
The text was updated successfully, but these errors were encountered: