aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorGravatar Youngchan Kim <ovekyc@gmail.com>2018-10-20 15:10:37 +0900
committerGravatar Youngchan Kim <ovekyc@gmail.com>2018-10-23 13:45:25 +0900
commit0f9733eb85403417b5c749557d8c17a42d773962 (patch)
tree9e0eb371de3ddea71fec2e7eea8c536c54b3f2f9 /examples
parentc4c112bc50b49458303785efdc8aa6a83d93a68b (diff)
Update timeout: 1 -> 10
Diffstat (limited to 'examples')
-rw-r--r--examples/python/helloworld/greeter_client_with_options.py4
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)