Merge pull request #2718 from MetaMask/ReducePollingInterval

Reduce polling interval
feature/default_network_editable
kumavis 7 years ago committed by GitHub
commit c12886a3d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      CHANGELOG.md
  2. 2
      app/manifest.json
  3. 6
      app/scripts/controllers/network.js
  4. 2
      package.json

@ -2,6 +2,10 @@
## Current Master
## 3.13.2 2017-12-9
- Reduce new block polling interval to 8000 ms, to ease server load.
## 3.13.1 2017-12-7
- Allow Dapps to specify a transaction nonce, allowing dapps to propose resubmit and force-cancel transactions.

@ -1,7 +1,7 @@
{
"name": "MetaMask",
"short_name": "Metamask",
"version": "3.13.1",
"version": "3.13.2",
"manifest_version": 2,
"author": "https://metamask.io",
"description": "Ethereum Browser Extension",

@ -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)
}

@ -152,7 +152,7 @@
"valid-url": "^1.0.9",
"vreme": "^3.0.2",
"web3": "^0.20.1",
"web3-provider-engine": "^13.3.2",
"web3-provider-engine": "^13.3.4",
"web3-stream-provider": "^3.0.1",
"xtend": "^4.0.1"
},

Loading…
Cancel
Save