Skip to content

Commit 2d6fd6a

Browse files
committed
Reduce batch size for replication.
1 parent 7de1ce4 commit 2d6fd6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/service-core/src/storage/mongo/OperationBatch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const MAX_BATCH_COUNT = 2000;
1212
/**
1313
* Maximum size of operations in the batch (estimated).
1414
*/
15-
const MAX_RECORD_BATCH_SIZE = 14_000_000;
15+
const MAX_RECORD_BATCH_SIZE = 5_000_000;
1616

1717
/**
1818
* Maximum size of size of current_data documents we lookup at a time.

0 commit comments

Comments
 (0)