Skip to content

Improve performance and reduce latency of Transport.write by attempting to send data immediately if all write buffers are empty #619

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
Revert unnecessary change
  • Loading branch information
taras committed Sep 10, 2024
commit f6f509440d5aa319b2ba0774b46e4802ebe64015
1 change: 1 addition & 0 deletions uvloop/handles/stream.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -943,6 +943,7 @@ cdef void __uv_stream_on_write(
uv.uv_write_t* req,
int status,
) noexcept with gil:

if UVLOOP_DEBUG:
if req.data is NULL:
aio_logger.error(
Expand Down
Loading