Merge pull request #3101 from MetaMask/eventemitterwarning

Bump up EventEmitter listener warning threshold count to 20
feature/default_network_editable
Thomas Huang 7 years ago committed by GitHub
commit 9623270299
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      CHANGELOG.md
  2. 2
      app/scripts/metamask-controller.js

@ -2,6 +2,8 @@
## Current Master ## Current Master
- Bump limit for EventEmitter listeners before warning.
## 3.13.7 2018-1-22 ## 3.13.7 2018-1-22
- Add ability to bypass gas estimation loading indicator. - Add ability to bypass gas estimation loading indicator.

@ -43,6 +43,8 @@ module.exports = class MetamaskController extends EventEmitter {
constructor (opts) { constructor (opts) {
super() super()
this.defaultMaxListeners = 20
this.sendUpdate = debounce(this.privateSendUpdate.bind(this), 200) this.sendUpdate = debounce(this.privateSendUpdate.bind(this), 200)
this.opts = opts this.opts = opts

Loading…
Cancel
Save