diff --git a/csst_dfs_api_cluster/common/service.py b/csst_dfs_api_cluster/common/service.py index cb0cb5a52a7aca0d22c1f1082440ba4193bcfb25..3aae863c11ada7ed694b3f050a5a5e7102d49a46 100644 --- a/csst_dfs_api_cluster/common/service.py +++ b/csst_dfs_api_cluster/common/service.py @@ -6,8 +6,8 @@ class ServiceProxy: self.gateway = os.getenv("CSST_DFS_GATEWAY",'172.31.248.218:30880') def channel(self): - options = (('grpc.max_send_message_length', 1024 * 1024 * 1024 * 5), - ('grpc.max_receive_message_length', 1024 * 1024 * 1024 * 5)) + options = (('grpc.max_send_message_length', 1024 * 1024 * 1024), + ('grpc.max_receive_message_length', 1024 * 1024 * 1024)) # channel = grpc.insecure_channel(self.gateway, options = options, compression = grpc.Compression.Gzip) channel = grpc.insecure_channel(self.gateway, options = options) try: