-
Notifications
You must be signed in to change notification settings - Fork 9
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
Fix retry logic in qai_upload.py
#1140
Labels
Comments
I think it's giving up, instead of retrying. Here's an example from the log, when the watcher was configured to point to an old QAI server that had been shut down:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When micall watcher loses connection to QAI, it should enter a retry loop, where each try is delayed by a bigger and bigger time interval. Example:
- QAI upload succeeds - QAI upload fails - Wait 5 seconds - QAI upload fails - Wait 10 seconds - QAI upload fails - ... - QAI upload fails - Wait 24 hours - QAI upload fails - Wait 24 hours # max interval length reached. - QAI upload succeeds
This is currently not working.
Instead, micall watcher tries to reconnect much more frequently.
The text was updated successfully, but these errors were encountered: