summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/index.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/index.ts b/src/index.ts
index 18eff8176c..0dda8b05b7 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -4,6 +4,8 @@
Error.stackTraceLimit = Infinity;
+require('events').EventEmitter.defaultMaxListeners = 128;
+
import * as os from 'os';
import * as cluster from 'cluster';
import * as debug from 'debug';