Fix wsproxy CPU usage without affecting latency.
Instead of selecting on everything every time, only select the writers that we have items queued for. Most of the time the writers are ready so if we select on them even when we don't have anything to send we will fall into a tight loop.
Showing
Please
register
or
sign in
to comment