mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 18:41:38 +01:00
Pass polling interval to zero client provider
This commit is contained in:
parent
d39eb37042
commit
542e0035dd
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user