pull/19465/head
Richard Belleville 6 years ago
parent dc8dba8afe
commit 93d6344ac6
  1. 2
      examples/python/cancellation/client.py
  2. 4
      examples/python/cancellation/server.py

@ -92,6 +92,8 @@ def run_streaming_client(server_target, name, ideal_distance,
# Enqueue a sentinel to signal the end of the stream.
result_queue.put(None)
# TODO(https://github.com/grpc/grpc/issues/19464): Do everything on the
# main thread.
response_thread = threading.Thread(
target=iterate_responses, args=(result_generator, result_queue))
response_thread.daemon = True

@ -83,10 +83,6 @@ class ResourceLimitExceededError(Exception):
"""Signifies the request has exceeded configured limits."""
# TODO(rbellevi): File issue about indefinite blocking for server-side
# streaming.
def _find_secret_of_length(target,
ideal_distance,
length,

Loading…
Cancel
Save