Skip to content

Commit

Permalink
Increase chunks
Browse files Browse the repository at this point in the history
  • Loading branch information
eabz committed Feb 23, 2023
1 parent bd51251 commit 74cd212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/db/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ impl Database {

let blocks_vec: Vec<&i64> = blocks.into_iter().collect();

let chunks = blocks_vec.chunks(100);
let chunks = blocks_vec.chunks(10_000_000);

for (i, chunk) in chunks.enumerate() {
let chunk_vec: Vec<&i64> = chunk.to_vec();
Expand Down

0 comments on commit 74cd212

Please sign in to comment.