From 0f9733eb85403417b5c749557d8c17a42d773962 Mon Sep 17 00:00:00 2001 From: Youngchan Kim Date: Sat, 20 Oct 2018 15:10:37 +0900 Subject: Update timeout: 1 -> 10 --- examples/python/helloworld/greeter_client_with_options.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/python/helloworld/greeter_client_with_options.py b/examples/python/helloworld/greeter_client_with_options.py index 11f128eee7..984fb8d5f2 100644 --- a/examples/python/helloworld/greeter_client_with_options.py +++ b/examples/python/helloworld/greeter_client_with_options.py @@ -33,8 +33,8 @@ def run(): ('grpc.enable_retries', 0), ('grpc.keepalive_timeout_ms', 10000)]) as channel: stub = helloworld_pb2_grpc.GreeterStub(channel) - # timeout in second - response = stub.SayHello(helloworld_pb2.HelloRequest(name='you'), timeout=1) + # Timeout in seconds. + response = stub.SayHello(helloworld_pb2.HelloRequest(name='you'), timeout=10) print("Greeter client received: " + response.message) -- cgit v1.2.3