-
Notifications
You must be signed in to change notification settings - Fork 487
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
chore: decrease exponential timeout of mirroring #4196
Conversation
6deac59
to
46421a8
Compare
46421a8
to
1528f9b
Compare
d342cf2
to
ddffa26
Compare
ddffa26
to
d344743
Compare
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, but should we leave the max exp backoff, it seems like especially with an IoT network there could be fairly slow responses or dropped packets?
please add description on what this PR solves |
Actually, my changes on min does even change the behavior, I found out that I propose then change the factor, we were using the default (2), easily to be stressed with only 30 secs. Only needing 6 hits to be totally stressed. I changed the factor to 1.1 that will need 37 hits to be totally stressed! That should improve to not sleeping a lot at first seconds trying to connect. Also make our tests more realiable. |
6d6089e
to
1916abb
Compare
* chore: decrease exponential timeout of mirroring * chore: change default factor of mirroring backoff
c2cd74c
to
1211362
Compare
That should improve to not sleeping a lot at first seconds trying to connect.
Also helping our mirroring tests be more reliable.