Merge pull request #9967 from overleaf/jpa-web-scripts-increase-timeouts

[web] scripts: increase mongo query timeouts by default (30s -> 5min)

GitOrigin-RevId: bdd1a504799ac1d42c52c3966b1072f721398e12
This commit is contained in:
Timothée Alby 2022-10-17 12:13:35 +02:00 committed by Copybot
parent 2e70803492
commit 9ac016127d
4 changed files with 4 additions and 0 deletions

View file

@ -1,3 +1,4 @@
process.env.MONGO_SOCKET_TIMEOUT = '300000'
// Run all the mongo queries on secondaries
process.env.MONGO_CONNECTION_STRING =
process.env.READ_ONLY_MONGO_CONNECTION_STRING

View file

@ -1,3 +1,4 @@
process.env.MONGO_SOCKET_TIMEOUT = '300000'
// Run all the mongo queries on secondaries
process.env.MONGO_CONNECTION_STRING =
process.env.READ_ONLY_MONGO_CONNECTION_STRING

View file

@ -1,3 +1,4 @@
process.env.MONGO_SOCKET_TIMEOUT = '300000'
process.env.MONGO_CONNECTION_STRING =
process.env.READ_ONLY_MONGO_CONNECTION_STRING

View file

@ -1,3 +1,4 @@
process.env.MONGO_SOCKET_TIMEOUT = '300000'
const { waitForDb } = require('../app/src/infrastructure/mongodb')
const SAMLUserIdMigrationHandler = require('../modules/overleaf-integration/app/src/SAML/SAMLUserIdMigrationHandler')