Skip to content

Commit e5c6fad

Browse files
committed
Reduce batch size and bump version
1 parent 44735b7 commit e5c6fad

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sslkeylog-processor"
3-
version = "0.9.2"
3+
version = "0.9.3"
44
authors = ["Aristarkh Zagorodnikov <[email protected]>"]
55
edition = "2021"
66

src/processor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ impl<'a> Processor<'a> {
176176
let batch = batch_map.entry(collection_name.to_string()).or_insert_with(Vec::new);
177177
batch.push(document);
178178
let len = batch.len();
179-
const BATCH_SIZE: usize = 618;
179+
const BATCH_SIZE: usize = 333;
180180
if len >= BATCH_SIZE {
181181
println!("{}: writing {} to {}", location.file_name, len, collection_name);
182182
let batch = batch_map.remove(collection_name).unwrap();

0 commit comments

Comments
 (0)