Bump chunk size to 256

This commit is contained in:
Antonio Scandurra 2022-05-24 09:54:53 +02:00
parent 138a0b042d
commit ec88288d5e

View File

@ -966,7 +966,7 @@ impl LocalWorktree {
#[cfg(any(test, feature = "test-support"))]
const CHUNK_SIZE: usize = 2;
#[cfg(not(any(test, feature = "test-support")))]
const CHUNK_SIZE: usize = 128;
const CHUNK_SIZE: usize = 256;
let entry = ignored_entries.next();
if ignored_entries_to_send.len() >= CHUNK_SIZE || entry.is_none() {