diff options
author | Kevin Serrano <kevin.serrano@consensys.net> | 2018-01-26 04:28:11 +0800 |
---|---|---|
committer | Kevin Serrano <kevin.serrano@consensys.net> | 2018-01-26 04:28:11 +0800 |
commit | 19a379edbafa468c9c3502d2b6d7750ef7ea2238 (patch) | |
tree | 895d155db121b5a37e76153a27fb11c00bde5b40 | |
parent | 03fbf75b4e95b14be4ebf9280425dc683b8c3193 (diff) | |
download | tangerine-wallet-browser-19a379edbafa468c9c3502d2b6d7750ef7ea2238.tar tangerine-wallet-browser-19a379edbafa468c9c3502d2b6d7750ef7ea2238.tar.gz tangerine-wallet-browser-19a379edbafa468c9c3502d2b6d7750ef7ea2238.tar.bz2 tangerine-wallet-browser-19a379edbafa468c9c3502d2b6d7750ef7ea2238.tar.lz tangerine-wallet-browser-19a379edbafa468c9c3502d2b6d7750ef7ea2238.tar.xz tangerine-wallet-browser-19a379edbafa468c9c3502d2b6d7750ef7ea2238.tar.zst tangerine-wallet-browser-19a379edbafa468c9c3502d2b6d7750ef7ea2238.zip |
Bump limit for event emitter warning.
-rw-r--r-- | app/scripts/metamask-controller.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index 000e17b9e..672ec7403 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -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 |