mirror of
https://github.com/wassname/talk.git
synced 2026-09-11 12:51:33 +08:00
small fixes
This commit is contained in:
@@ -42,10 +42,6 @@ if (WEBPACK) {
|
||||
logger.debug('mongodb disconnected')
|
||||
);
|
||||
|
||||
setTimeout(() => {
|
||||
mongoose.disconnect();
|
||||
}, 5000);
|
||||
|
||||
// Connect to the Mongo instance.
|
||||
mongoose
|
||||
.connect(MONGO_URL, {
|
||||
|
||||
Reference in New Issue
Block a user