summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/common/message_limits.cpp
diff options
context:
space:
mode:
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.");