From 765a10c8da6b64268b327b32bfd23d8f75bc9f80 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 7 Apr 2018 06:25:58 +0900 Subject: [PATCH] Increase limit to avoid warning --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index f45bcaa6ad..68b289793b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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();