summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrishnaa96 <krishna.moorthy6@wipro.com>2021-07-14 11:15:02 +0530
committerkrishnaa96 <krishna.moorthy6@wipro.com>2021-07-14 11:15:02 +0530
commit36a92ba8e747431edaef2b66a23410cd8799534f (patch)
tree7dc0f3a4a50446083b4b26eb0974c06e40b42f4d
parent211b609bd426b22fe7a0fc60a970a787acc006ca (diff)
Add grpc size limit option
Issue-ID: OPTFRA-982 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: Ia72f366bef97ad63b4718bd0a04ecc21f5a8e0fa
-rw-r--r--conductor/conductor/common/etcd/api.py2
1 files changed, 2 insertions, 0 deletions
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()))