We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41f9210 commit b4dc4cbCopy full SHA for b4dc4cb
src/models/eventsFactory.js
@@ -7,7 +7,7 @@ const Event = require('../models/event');
7
const { ObjectID } = require('mongodb');
8
const { composeEventPayloadByRepetition } = require('../utils/merge');
9
10
-const MAX_DB_READ_BATCH_SIZE = Number(process.env.MAX_DB_READ_BATCH_SIZE ?? 1000);
+const MAX_DB_READ_BATCH_SIZE = Number(process.env.MAX_DB_READ_BATCH_SIZE);
11
12
/**
13
* @typedef {import('mongodb').UpdateWriteOpResult} UpdateWriteOpResult
0 commit comments