melib/nntp: increase chunk size

pull/144/head
Manos Pitsidianakis 3 years ago
parent 521f634e7b
commit 6235164df2
No known key found for this signature in database
GPG Key ID: 73627C2F690DF710

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

Loading…
Cancel
Save