We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d21ee0 commit 4a1e6e4Copy full SHA for 4a1e6e4
service/database/index.js
@@ -1,8 +1,6 @@
1
const { getConnection } = require("./connector");
2
const { transformIdToObjectId } = require("./util");
3
4
-MAX_NUM_FIND_DOCS = 10000;
5
-
6
let maxDocsInput = process.env.MAX_NUM_FIND_DOCS;
7
let MAX_NUM_FIND_DOCS = parseInt(maxDocsInput, 10);
8
if (isNaN(MAX_NUM_FIND_DOCS) || MAX_NUM_FIND_DOCS <= 0) {
0 commit comments