summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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()))