mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
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:
parent
2e70803492
commit
9ac016127d
4 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
process.env.MONGO_SOCKET_TIMEOUT = '300000'
|
||||
process.env.MONGO_CONNECTION_STRING =
|
||||
process.env.READ_ONLY_MONGO_CONNECTION_STRING
|
||||
|
||||
|
|
|
@ -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')
|
||||
|
||||
|
|
Loading…
Reference in a new issue