melib/nntp: increase chunk size

pull/144/head
Manos Pitsidianakis 2021-09-04 16:06:42 +03:00
parent 521f634e7b
commit 6235164df2
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
1 changed files with 1 additions and 1 deletions

View File

@ -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;