-
Notifications
You must be signed in to change notification settings - Fork 80
Add retry delay on topic subscription failures #298
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
Add retry delay on topic subscription failures #298
Conversation
Memory usage change @ eef2605
Click for full report table
Click for full report CSV
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, I left just an advice
Codecov Report
@@ Coverage Diff @@
## master #298 +/- ##
=======================================
Coverage 95.40% 95.40%
=======================================
Files 26 26
Lines 1022 1022
=======================================
Hits 975 975
Misses 47 47 Continue to review full report at Codecov.
|
Memory usage change @ 696b48e
Click for full report table
Click for full report CSV
|
Most of the time subscripion failures are caused by wrong device configuration, so retry to subscribe immediately is not solving the problem.
Adding a small delay (1 second )will make the debug error more readable by the user and it will also reduce the amout of subscription requests received by the cloud not slowing down too much the connection process in case of a real connection error.