Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce # number DeviceReadBuffer::Read() calls.
Refs #11252. This reduces the number of reads per second we make in the stream handlers utilizing the DRB. It does this by waiting 20 ms for at least dev_read_size bytes rather than 500 ms for min_read bytes. The device reads are larger than the minimum read so this actually results in waiting a bit longer under normal conditions while returning more quickly when we're not getting data from the device. A win-win.
- Loading branch information