From 1693c95ab2e9d4f322fe5bcc937f61cf2dd8646e Mon Sep 17 00:00:00 2001 From: doramart Date: Sun, 15 Mar 2020 17:27:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E6=B4=BB=E6=8E=A2=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/config.local.js | 3 ++- config/config.prod.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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 }, }, },