Increase limit to avoid warning

This commit is contained in:
syuilo 2018-04-07 06:25:58 +09:00
parent d5f013193b
commit dc328301bd

View File

@ -35,7 +35,7 @@ if (process.env.NODE_ENV != 'production') {
}
// https://github.com/Automattic/kue/issues/822
require('events').EventEmitter.prototype._maxListeners = 256;
require('events').EventEmitter.prototype._maxListeners = 512;
// Start app
main();