diff options
author | kumavis <kumavis@users.noreply.github.com> | 2017-12-10 09:24:33 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-10 09:24:33 +0800 |
commit | c12886a3d500d1570bc7328fd6432a3d741a1028 (patch) | |
tree | 60c057b2e901347ac20d2b5030bbbbc81b2864bc /app/scripts | |
parent | d39eb370423e2a2cdd41c47b92796c0d4c829b3b (diff) | |
parent | 1ebd5140aaa3dfe98668fad3893834653c5f7109 (diff) | |
download | tangerine-wallet-browser-c12886a3d500d1570bc7328fd6432a3d741a1028.tar tangerine-wallet-browser-c12886a3d500d1570bc7328fd6432a3d741a1028.tar.gz tangerine-wallet-browser-c12886a3d500d1570bc7328fd6432a3d741a1028.tar.bz2 tangerine-wallet-browser-c12886a3d500d1570bc7328fd6432a3d741a1028.tar.lz tangerine-wallet-browser-c12886a3d500d1570bc7328fd6432a3d741a1028.tar.xz tangerine-wallet-browser-c12886a3d500d1570bc7328fd6432a3d741a1028.tar.zst tangerine-wallet-browser-c12886a3d500d1570bc7328fd6432a3d741a1028.zip |
Merge pull request #2718 from MetaMask/ReducePollingInterval
Reduce polling interval
Diffstat (limited to 'app/scripts')
-rw-r--r-- | app/scripts/controllers/network.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/scripts/controllers/network.js b/app/scripts/controllers/network.js index 045bfcc5d..cee918796 100644 --- a/app/scripts/controllers/network.js +++ b/app/scripts/controllers/network.js @@ -106,7 +106,11 @@ module.exports = class NetworkController extends EventEmitter { } _configureStandardProvider (_providerParams) { - const providerParams = extend(this._baseProviderParams, _providerParams) + const providerParams = extend(this._baseProviderParams, _providerParams, { + engineParams: { + pollingInterval: 8000, + }, + }) const provider = createMetamaskProvider(providerParams) this._setProvider(provider) } |