-
Notifications
You must be signed in to change notification settings - Fork 447
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Keep dispatching packets from a socket as long as there are a…
…ny." This reverts commit 51b2f18. There's no throughput difference so far as I could measure, but this greatly increases worst-case latency. At some later point we could perhaps pass a deadline to the poll function, but for now reverting this is simple enough.
1 parent
51b2f18
commit 546b367
Showing
1 changed file
with
29 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
546b367
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.
Wouldn't it make sense to return zero time from
poll
if there are still packets to transmit, though?546b367
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.
Oh, sorry, didn't realise that this is what you were hinting at in the commit message.