Skip to content

fix bug of settimeout#2

Open
MBCmbc wants to merge 1 commit into
KyleBenson:masterfrom
MBCmbc:master
Open

fix bug of settimeout#2
MBCmbc wants to merge 1 commit into
KyleBenson:masterfrom
MBCmbc:master

Conversation

@MBCmbc

@MBCmbc MBCmbc commented Mar 6, 2021

Copy link
Copy Markdown
   In the original code, new timeout value is equal to "self._rtt_a * 2". If the last "self._rtt_a" is very small(such as 50 ms), then the new timeout will be too small, thus result in misjudgment of timeout. 
   I think there should be a minimum threshold(such as 3 seconds) of timeout to avoid misjudgment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant