Skip to content

Commit

Permalink
increase batch size to 100
Browse files Browse the repository at this point in the history
  • Loading branch information
m5r committed Apr 4, 2024
1 parent f2b1319 commit e035a11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/migrations/add-contact-id-to-user-docs.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const db = require('../db');
const logger = require('../logger');

const BATCH_SIZE = 1;
const BATCH_SIZE = 100;

const processDocument = async ({ _id, contact_id }) => {
try {
Expand Down

0 comments on commit e035a11

Please sign in to comment.