-
Notifications
You must be signed in to change notification settings - Fork 66
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
Disconnect the connection after sending N un-acked packets #234
Disconnect the connection after sending N un-acked packets #234
Conversation
b861dc0
to
35eb8de
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.
Nice 👍. The only comment I have is maybe we should make the default something smaller?
@jstnlef What do you propose? This value is basically a "disable" value as it stands. |
35eb8de
to
d7b1174
Compare
What about 512? Less than 20 seconds at 30 Hz send rate. Let's it be generous without being too soon. |
d7b1174
to
365c16b
Compare
Sounds good |
The connection is disconnected if we have N packets-in-flight simultaneously. Under normal usage we expect packets to be acked regularly so that our packets-in-flight size is relatively small.
Had to abort the build (sorry -- the build agent got stuck and had to be restarted). I think you have to push another commit to restart a build. |
Codecov Report
@@ Coverage Diff @@
## master #234 +/- ##
==========================================
- Coverage 97.57% 97.53% -0.04%
==========================================
Files 25 25
Lines 2554 2597 +43
==========================================
+ Hits 2492 2533 +41
- Misses 62 64 +2
Continue to review full report at Codecov.
|
Codecov is just complaining about panics not being triggered in a test. |
…#234) The connection is disconnected if we have N packets-in-flight simultaneously. Under normal usage we expect packets to be acked regularly so that our packets-in-flight size is relatively small.
The connection is disconnected if we have N packets-in-flight simultaneously. Under normal usage we expect packets to be acked regularly so that our packets-in-flight size is relatively small.
The connection is disconnected if we have N packets-in-flight
simultaneously. Under normal usage we expect packets to be acked
regularly so that our packets-in-flight size is relatively small.