Merge pull request #2919 from ethereum/yann300-patch-9

Increase timeout for provider
pull/5370/head
yann300 4 years ago committed by GitHub
commit b6d5f22068
  1. 5
      src/app.js

@ -240,9 +240,8 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
const workspace = pluginLoader.get()
const engine = new Engine(appManager)
engine.setPluginOption = ({ name, kind }) => {
if (kind === 'provider' || name === 'LearnEth') {
return {queueTimeout: 60000}
}
if (kind === 'provider') return {queueTimeout: 60000 * 4}
if (name === 'LearnEth') return {queueTimeout: 60000}
return {queueTimeout: 10000}
}
await engine.onload()

Loading…
Cancel
Save