Skip to content

Commit

Permalink
defaultMaxListeners = 512
Browse files Browse the repository at this point in the history
  • Loading branch information
tamaina committed Jul 17, 2024
1 parent 7e2c3e4 commit f2c412c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/boot/entry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import 'reflect-metadata';
process.title = `Misskey (${cluster.isPrimary ? 'master' : 'worker'})`;

Error.stackTraceLimit = Infinity;
EventEmitter.defaultMaxListeners = 128;
EventEmitter.defaultMaxListeners = 512;

const logger = new Logger('core', 'cyan');
const clusterLogger = logger.createSubLogger('cluster', 'orange');
Expand Down

0 comments on commit f2c412c

Please sign in to comment.