From dc328301bd5d91fe572d46291200688f8acac393 Mon Sep 17 00:00:00 2001 From: syuilo <syuilotan@yahoo.co.jp> 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 f45bcaa6a..68b289793 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();