From 092884739888fdf4688e9273310f587e037ac07d Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Thu, 6 Feb 2025 12:29:25 +0100 Subject: Rename kMaxBatchTransferSize to MessageLimits::kMaxGrpcLength --- src/buildtool/execution_api/common/message_limits.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/buildtool/execution_api/common/message_limits.cpp') 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 -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."); -- cgit v1.2.3