From 56769630454d2b245a5089fad852a5e09d101dd7 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 23 Aug 2026 22:42:25 +0200 Subject: crates/turtle/client/history: Set a higher rpc message limit The history message can become quite large. --- crates/turtle/src/client/mod.rs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'crates') diff --git a/crates/turtle/src/client/mod.rs b/crates/turtle/src/client/mod.rs index a2322fdd..28289652 100644 --- a/crates/turtle/src/client/mod.rs +++ b/crates/turtle/src/client/mod.rs @@ -194,7 +194,14 @@ impl HistoryClient { ) })?; - let client = HistoryServiceClient::new(channel); + let client = HistoryServiceClient::new(channel).max_decoding_message_size({ + const BIT: usize = 1; + const BYTE: usize = 8 * BIT; + const KILO_BYTE: usize = 1024 * BYTE; + const MEGA_BYTE: usize = 1024 * KILO_BYTE; + + 16 * MEGA_BYTE + }); Ok(Self { client }) } -- cgit v1.3.1