diff options
author | Youngchan Kim <ovekyc@gmail.com> | 2018-10-20 15:08:53 +0900 |
---|---|---|
committer | Youngchan Kim <ovekyc@gmail.com> | 2018-10-23 13:45:25 +0900 |
commit | c4c112bc50b49458303785efdc8aa6a83d93a68b (patch) | |
tree | fd6cd01648a53eb109d1fd2be9672fe327fee60d /examples | |
parent | f65615d4cd3a9e8dae74746e23b9f79f1fe88676 (diff) |
Update keepalive timeout: 10 -> 10000
Diffstat (limited to 'examples')
-rw-r--r-- | examples/python/helloworld/greeter_client_with_options.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/python/helloworld/greeter_client_with_options.py b/examples/python/helloworld/greeter_client_with_options.py index 61dd138ada..11f128eee7 100644 --- a/examples/python/helloworld/greeter_client_with_options.py +++ b/examples/python/helloworld/greeter_client_with_options.py @@ -31,7 +31,7 @@ def run(): target='localhost:50051', options=[('grpc.lb_policy_name', 'pick_first'), ('grpc.enable_retries', 0), - ('grpc.keepalive_timeout_ms', 10)]) as channel: + ('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) |