Skip to content

Commit

Permalink
Reduce batch size for replication.
Browse files Browse the repository at this point in the history
  • Loading branch information
rkistner committed Jun 11, 2024
1 parent 7de1ce4 commit 2d6fd6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/service-core/src/storage/mongo/OperationBatch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const MAX_BATCH_COUNT = 2000;
/**
* Maximum size of operations in the batch (estimated).
*/
const MAX_RECORD_BATCH_SIZE = 14_000_000;
const MAX_RECORD_BATCH_SIZE = 5_000_000;

/**
* Maximum size of size of current_data documents we lookup at a time.
Expand Down

0 comments on commit 2d6fd6a

Please sign in to comment.