summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/common/message_limits.cpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2025-02-06 12:29:25 +0100
committerMaksim Denisov <denisov.maksim@huawei.com>2025-02-10 17:59:50 +0100
commit092884739888fdf4688e9273310f587e037ac07d (patch)
tree9ae43ad3c563f68f8bb2da3dc47d56ccd2eb9cc6 /src/buildtool/execution_api/common/message_limits.cpp
parente67f08133d54d1b51f00f22540917e56825e88de (diff)
downloadjustbuild-092884739888fdf4688e9273310f587e037ac07d.tar.gz
Rename kMaxBatchTransferSize to MessageLimits::kMaxGrpcLength
Diffstat (limited to 'src/buildtool/execution_api/common/message_limits.cpp')
-rw-r--r--src/buildtool/execution_api/common/message_limits.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buildtool/execution_api/common/message_limits.cpp b/src/buildtool/execution_api/common/message_limits.cpp
index 8a96d1bf..21247e70 100644
--- a/src/buildtool/execution_api/common/message_limits.cpp
+++ b/src/buildtool/execution_api/common/message_limits.cpp
@@ -16,5 +16,6 @@
#include <grpc/grpc.h>
-static_assert(kMaxBatchTransferSize < GRPC_DEFAULT_MAX_RECV_MESSAGE_LENGTH,
+static_assert(MessageLimits::kMaxGrpcLength <
+ GRPC_DEFAULT_MAX_RECV_MESSAGE_LENGTH,
"Max batch transfer size too large.");