1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-12-02 16:58:49 +09:00
This commit is contained in:
syuilo 2017-03-13 18:22:58 +09:00
parent d49b5d6de2
commit 4985e09365

View File

@ -120,10 +120,12 @@ async function init() {
}
// Check if a port is being used
/* https://github.com/stdarg/tcp-port-used/issues/3
if (await portUsed.check(config.port)) {
Logger.error(`Port ${config.port} is already used`);
return InitResult.Failure;
}
*/
// Try to connect to MongoDB
let mongoDBLogger = new Logger('MongoDB');