defaultMaxListeners = 512

This commit is contained in:
tamaina 2024-07-17 16:14:24 +09:00
parent 7e2c3e4439
commit f2c412c180

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 = 128; EventEmitter.defaultMaxListeners = 512;
const logger = new Logger('core', 'cyan'); const logger = new Logger('core', 'cyan');
const clusterLogger = logger.createSubLogger('cluster', 'orange'); const clusterLogger = logger.createSubLogger('cluster', 'orange');