Revert "defaultMaxListeners = 512"

This reverts commit f2c412c180.
This commit is contained in:
tamaina 2024-07-17 16:17:09 +09:00
parent f2c412c180
commit 57bfffedae

View File

@ -22,7 +22,7 @@ import 'reflect-metadata';
process.title = `Misskey (${cluster.isPrimary ? 'master' : 'worker'})`; process.title = `Misskey (${cluster.isPrimary ? 'master' : 'worker'})`;
Error.stackTraceLimit = Infinity; Error.stackTraceLimit = Infinity;
EventEmitter.defaultMaxListeners = 512; EventEmitter.defaultMaxListeners = 128;
const logger = new Logger('core', 'cyan'); const logger = new Logger('core', 'cyan');
const clusterLogger = logger.createSubLogger('cluster', 'orange'); const clusterLogger = logger.createSubLogger('cluster', 'orange');