Increase timeout for provider

pull/5370/head
yann300 4 years ago committed by GitHub
parent 81038a40ed
commit 58f1aedb6b
  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