1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Bump limit for event emitter warning.

This commit is contained in:
Kevin Serrano 2018-01-25 12:28:11 -08:00
parent 03fbf75b4e
commit 19a379edba
No known key found for this signature in database
GPG Key ID: BF999DEFC7371BA1

View File

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