We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93cd463 commit bfb13cdCopy full SHA for bfb13cd
1 file changed
backend/src/database.ts
@@ -13,9 +13,9 @@ class Database {
13
logger.info('Connecting to the database', mongodbUri);
14
try {
15
this.mongoose = await mongoose.connect(mongodbUri, {
16
- socketTimeoutMS: 90000,
17
- connectTimeoutMS: 60000,
18
- serverSelectionTimeoutMS: 30000,
+ socketTimeoutMS: 360000,
+ connectTimeoutMS: 360000,
+ serverSelectionTimeoutMS: 60000,
19
retryWrites: true,
20
readPreference: 'primaryPreferred',
21
retryReads: true,
0 commit comments