Slim down batch size to fit in ingestion
Some checks are pending
Build and Publish / Build and Test (push) Waiting to run
Some checks are pending
Build and Publish / Build and Test (push) Waiting to run
This commit is contained in:
parent
5c3f734bbc
commit
ca0df97e73
@ -28,7 +28,7 @@ pub async fn insert(
|
||||
.map(|row| MonzoRow::into_insertion(row, account_id))
|
||||
.collect::<Result<Vec<_>, _>>()?;
|
||||
|
||||
for insertions in insertions.chunks(400) {
|
||||
for insertions in insertions.chunks(200) {
|
||||
let (new_or_updated_insertions, inserted_transaction_ids) =
|
||||
whittle_insertions(insertions, db).await?;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user