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
Revert unnecessary change
  • Loading branch information
taras committed Sep 10, 2024
commit ede3f381bd809af0acd826fec9db08ad8636b232
2 changes: 1 addition & 1 deletion uvloop/handles/stream.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +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