diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2025-02-06 12:29:25 +0100 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2025-02-10 17:59:50 +0100 |
commit | 092884739888fdf4688e9273310f587e037ac07d (patch) | |
tree | 9ae43ad3c563f68f8bb2da3dc47d56ccd2eb9cc6 /src/buildtool/execution_api/common/message_limits.cpp | |
parent | e67f08133d54d1b51f00f22540917e56825e88de (diff) | |
download | justbuild-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.cpp | 3 |
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."); |