保活探测

This commit is contained in:
doramart 2020-03-15 17:27:18 +08:00
parent 7f822dedc2
commit 1693c95ab2
2 changed files with 4 additions and 2 deletions

View File

@ -40,7 +40,8 @@ module.exports = appInfo => {
url: 'mongodb://127.0.0.1:27017/doracms2',
options: {
useCreateIndex: true,
useUnifiedTopology: true
useUnifiedTopology: true,
keepAlive: 3000
},
},
},

View File

@ -12,7 +12,8 @@ module.exports = appInfo => {
url: 'mongodb://127.0.0.1:27017/doracms2',
options: {
useCreateIndex: true,
useUnifiedTopology: true
useUnifiedTopology: true,
keepAlive: 3000
},
},
},