Skip to content

Commit

Permalink
Revert unnecessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
taras committed Sep 10, 2024
1 parent 4f66353 commit 4e96818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uvloop/handles/stream.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ cdef class UVStream(UVBaseTransport):
if not buf_len:
return

if not self._protocol_paused and (<uv.uv_stream_t*>self._handle).write_queue_size == 0:
if (<uv.uv_stream_t*>self._handle).write_queue_size == 0:
# libuv internal write buffers for this stream are empty.
if buf_len == 1:
# If we only have one piece of data to send, let's
Expand Down

0 comments on commit 4e96818

Please sign in to comment.