balderdashy / balderdashy/sails
setMaxListeners in sails js
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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