-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dispatch_connection: don't wrongly assume noexpire == udp
Both aggregator and UDP connections have the noexpire bit set, but we don't want to treat aggregator connections as all-in-one packet connections. So, instead of messing around with len (loosing the ability to say something about whether work was done or not) and making some implicit assumptions, introduce an isudp bit, which we can use instead to trigger the incomplete message discard (6a17865). This is likely the fix for issue #242, because it uses aggregations, and the aggregator gets heavily blocked since all work the dispatchers did were flagged as "no-work" leading to sleeps.
- Loading branch information
Showing
2 changed files
with
7 additions
and
4 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
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