From 6235164df2e9adde2a420936fb722691162cad7d Mon Sep 17 00:00:00 2001 From: Manos Pitsidianakis Date: Sat, 4 Sep 2021 16:06:42 +0300 Subject: [PATCH] melib/nntp: increase chunk size --- melib/src/backends/nntp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/melib/src/backends/nntp.rs b/melib/src/backends/nntp.rs index f6363f5e..1056e5b0 100644 --- a/melib/src/backends/nntp.rs +++ b/melib/src/backends/nntp.rs @@ -630,7 +630,7 @@ impl FetchState { if high <= low { return Ok(None); } - const CHUNK_SIZE: usize = 100; + const CHUNK_SIZE: usize = 50000; let new_low = std::cmp::max(low, high.saturating_sub(CHUNK_SIZE)); high_low_total.as_mut().unwrap().0 = new_low;