From 5d64cd3da84a6b1237f129d8f8968f0238710560 Mon Sep 17 00:00:00 2001 From: Stan Bondi Date: Wed, 22 May 2024 11:06:42 +0400 Subject: [PATCH] remove unused const --- comms/core/src/protocol/rpc/mod.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/comms/core/src/protocol/rpc/mod.rs b/comms/core/src/protocol/rpc/mod.rs index ba5ba2a4d2..23a0e6e1d4 100644 --- a/comms/core/src/protocol/rpc/mod.rs +++ b/comms/core/src/protocol/rpc/mod.rs @@ -31,8 +31,6 @@ mod test; /// Maximum frame size of each RPC message. This is enforced in tokio's length delimited codec. /// This can be thought of as the hard limit on message size. pub const RPC_MAX_FRAME_SIZE: usize = 4 * 1024 * 1024; // 4 MiB -/// The maximum size for a single RPC response message -pub const RPC_MAX_RESPONSE_SIZE: usize = 4 * 1024 * 1024; // 4 MiB /// The maximum request payload size const fn max_request_size() -> usize {