Skip to content

Commit

Permalink
fix line length
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenc-pace committed Sep 21, 2023
1 parent e788961 commit 6830d19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nameko_grpc/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,8 @@ def send_data(self, stream_id):
# When a stream is closed, a STREAM_END item or ERROR is placed in the queue.
# If we never read from the stream again, these are not consumed, and the
# stream is never exhausted which prevents a graceful termination.
# Because we return early if headers haven't been sent, we need to manually flush the queue
# (an operation that would otherwise occur during `stream.read`)
# Because we return early if headers haven't been sent, we need to manually
# flush the queue (an operation that would otherwise occur during `stream.read`)
send_stream.flush_queue_to_buffer()

if not send_stream.headers_sent:
Expand Down

0 comments on commit 6830d19

Please sign in to comment.