From c4c112bc50b49458303785efdc8aa6a83d93a68b Mon Sep 17 00:00:00 2001 From: Youngchan Kim Date: Sat, 20 Oct 2018 15:08:53 +0900 Subject: Update keepalive timeout: 10 -> 10000 --- examples/python/helloworld/greeter_client_with_options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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) -- cgit v1.2.3