diff --git a/config/config.local.js b/config/config.local.js index 6271550..3836329 100755 --- a/config/config.local.js +++ b/config/config.local.js @@ -40,7 +40,8 @@ module.exports = appInfo => { url: 'mongodb://127.0.0.1:27017/doracms2', options: { useCreateIndex: true, - useUnifiedTopology: true + useUnifiedTopology: true, + keepAlive: 3000 }, }, }, diff --git a/config/config.prod.js b/config/config.prod.js index 644a72f..aed7dc2 100644 --- a/config/config.prod.js +++ b/config/config.prod.js @@ -12,7 +12,8 @@ module.exports = appInfo => { url: 'mongodb://127.0.0.1:27017/doracms2', options: { useCreateIndex: true, - useUnifiedTopology: true + useUnifiedTopology: true, + keepAlive: 3000 }, }, },