Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
fix(grpc): change grpc client message size limit
  • Loading branch information
felix committed Jul 17, 2019
1 parent 3836020 commit 38eca0ceb7102d7076f7e3854b0154d85a2cd9c0
Showing with 2 additions and 2 deletions.
  1. +2 −2 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))

0 comments on commit 38eca0c

Please sign in to comment.