defaultMaxListeners = 512
This commit is contained in:
parent
7e2c3e4439
commit
f2c412c180
|
@ -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');
|
||||||
|
|
Loading…
Reference in New Issue