Lunie: Fix the MaxListenersExceededWarning spam

Created on 19 Mar 2018  路  2Comments  路  Source: luniehq/lunie

Version

develop

Description

We're getting spammed with the following line in CircleCI builds. It comprises nearly 50% of the build log which makes it harder to find out what is wrong.

Remove (node:215) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 unhandledRejection listeners added. Use emitter.setMaxListeners() to increase limit

Let's increase the max listeners.

Screenshot

circleci

bug

Most helpful comment

I would say that we should actually diagnose and ensure there isn't a memory leak, but it looks like it never goes above 11 so it's probably OK to just increase the limit 馃憤

All 2 comments

You are so right! We need to kill those damn messages :)

I would say that we should actually diagnose and ensure there isn't a memory leak, but it looks like it never goes above 11 so it's probably OK to just increase the limit 馃憤

Was this page helpful?
0 / 5 - 0 ratings