diff options
-rw-r--r-- | examples/python/helloworld/greeter_client_with_options.py | 4 |
1 files 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) |