Skip to content

Commit 03a712b

Browse files
committed
fix: larger batch
1 parent 38169a7 commit 03a712b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/processor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ impl<'a> Processor<'a> {
222222
let batch = batch_map.entry(collection_name.to_string()).or_default();
223223
batch.push(document);
224224
let len = batch.len();
225-
const BATCH_SIZE: usize = 337;
225+
const BATCH_SIZE: usize = 1000;
226226
if len >= BATCH_SIZE {
227227
println!("{}: writing {} to {}", location.file_name, len, collection_name);
228228
let batch = batch_map.remove(collection_name).unwrap();

0 commit comments

Comments
 (0)