mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-27 04:17:51 -07:00
Clean up
This commit is contained in:
parent
9e02701af7
commit
89ec3d5e1b
1 changed files with 0 additions and 3 deletions
|
@ -19,7 +19,6 @@ import MachineInfo from './misc/machineInfo';
|
||||||
import DependencyInfo from './misc/dependencyInfo';
|
import DependencyInfo from './misc/dependencyInfo';
|
||||||
import serverStats from './daemons/server-stats';
|
import serverStats from './daemons/server-stats';
|
||||||
import notesStats from './daemons/notes-stats';
|
import notesStats from './daemons/notes-stats';
|
||||||
import db from './db/mongodb';
|
|
||||||
import loadConfig from './config/load';
|
import loadConfig from './config/load';
|
||||||
import { Config } from './config/types';
|
import { Config } from './config/types';
|
||||||
|
|
||||||
|
@ -191,6 +190,4 @@ process.on('uncaughtException', err => {
|
||||||
// Dying away...
|
// Dying away...
|
||||||
process.on('exit', code => {
|
process.on('exit', code => {
|
||||||
Logger.info(`The process is going to exit with code ${code}`);
|
Logger.info(`The process is going to exit with code ${code}`);
|
||||||
|
|
||||||
db.close();
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue