Browse Source

melib/nntp: increase chunk size

master
Manos Pitsidianakis 3 months ago
parent
commit
6235164df2
Signed by: epilys GPG Key ID: 73627C2F690DF710
  1. 2
      melib/src/backends/nntp.rs

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

Loading…
Cancel
Save