From 38eca0ceb7102d7076f7e3854b0154d85a2cd9c0 Mon Sep 17 00:00:00 2001 From: felix Date: Wed, 17 Jul 2019 19:40:37 +0800 Subject: [PATCH] fix(grpc): change grpc client message size limit --- gnes/client/http.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnes/client/http.py b/gnes/client/http.py index ece5738b..e85efaf4 100644 --- a/gnes/client/http.py +++ b/gnes/client/http.py @@ -98,8 +98,8 @@ def stub_call(req): with grpc.insecure_channel( '%s:%s' % (self.args.grpc_host, self.args.grpc_port), - options=[('grpc.max_send_message_length', 50 * 1024 * 1024), - ('grpc.max_receive_message_length', 50 * 1024 * 1024), + options=[('grpc.max_send_message_length', 100 * 1024 * 1024), + ('grpc.max_receive_message_length', 100 * 1024 * 1024), ('grpc.keepalive_timeout_ms', 100 * 1000)]) as channel: stub = gnes_pb2_grpc.GnesRPCStub(channel) loop.run_until_complete(init(loop))