balderdashy / balderdashy/sails

setMaxListeners in sails js

Open
#4,448 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

more info please
Dominant language
JavaScript
Stars
22.8k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

**Sails version**: 0.12.11
**Node version**: 7.6.0
**NPM version**: 4.1.2
**DB adapter name**: mysql
**DB adapter version**: N/A
**Operating system**: Ubuntu

#################################

Hi I got this error in my sails project

MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 change listeners added. Use emitter.setMaxListeners() to increase limit

How to resolve this ?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Start by reproducing the warning in Sails 0.12.11 with Node 7.6.0, Ubuntu, and the MySQL adapter, then trace which code adds the change listeners. Done means determining whether the warning comes from Sails or the application and recording a verified resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql, node.js
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.