From c937cb94f9db46e51d80c04a0900de802a7a2c3c Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 14 Jul 2018 11:55:36 +0900 Subject: [PATCH] Clean up --- src/index.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index 14a74896c..c919dd9be 100644 --- a/src/index.ts +++ b/src/index.ts @@ -19,7 +19,6 @@ import MachineInfo from './misc/machineInfo'; import DependencyInfo from './misc/dependencyInfo'; import serverStats from './daemons/server-stats'; import notesStats from './daemons/notes-stats'; -import db from './db/mongodb'; import loadConfig from './config/load'; import { Config } from './config/types'; @@ -191,6 +190,4 @@ process.on('uncaughtException', err => { // Dying away... process.on('exit', code => { Logger.info(`The process is going to exit with code ${code}`); - - db.close(); });