Closed SilverMira closed 5 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 78.63%. Comparing base (
dbbefcd
) to head (5a8aab1
).
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Thanks a lot for your contribution @SilverMira!
Currently, there is an unnecessary wait with
recv_timeout()
on reader thread and cache thread.On reader thread, it causes reading from pipe to have an inherent 100ms wait time between each chunk read. Similarly, cache thread also has this issue, where read() calls are served throttled with a 100ms delay.
This PR replaces
recv_timeout
withtry_recv
so all read() calls will return as soon as possible.Fixes #75