Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Read multiple UDP packets per DaemonCore event loop pass. #7149
Add ability to read multiple UDP packets in the main Driver() loop. Keep receiving while there's data and at most MAX_UDP_MSGS_PER_CYCLE messages have been processed. The default is 1, the old behavior. The command handlers are dispatched directly from the main thread.
- Loading branch information
Showing
2 changed files
with
47 additions
and
0 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