From: krishnaa96 Date: Wed, 14 Jul 2021 05:45:02 +0000 (+0530) Subject: Add grpc size limit option X-Git-Tag: 2.2.1~4 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=36a92ba8e747431edaef2b66a23410cd8799534f;p=optf%2Fhas.git Add grpc size limit option Issue-ID: OPTFRA-982 Signed-off-by: krishnaa96 Change-Id: Ia72f366bef97ad63b4718bd0a04ecc21f5a8e0fa --- diff --git a/conductor/conductor/common/etcd/api.py b/conductor/conductor/common/etcd/api.py index 3170b8c..a932108 100644 --- a/conductor/conductor/common/etcd/api.py +++ b/conductor/conductor/common/etcd/api.py @@ -62,6 +62,8 @@ class EtcdAPI(object): grpc_options={ 'grpc.http2.true_binary': 1, 'grpc.http2.max_pings_without_data': 0, + 'grpc.max_send_message_length': 50 * 1024 * 1024, + 'grpc.max_receive_message_length': 50 * 1024 * 1024, }.items()) except RpcError as rpc_error: raise EtcdClientException("Failed to establish connection with ETCD. GRPC {}".format(rpc_error.code()))