Increase timeout for provider

pull/11/head
yann300 4 years ago committed by ioedeveloper
parent b68ba79228
commit bc2ed11f0c
  1. 5
      apps/remix-ide/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 workspace = pluginLoader.get()
const engine = new Engine(appManager) const engine = new Engine(appManager)
engine.setPluginOption = ({ name, kind }) => { engine.setPluginOption = ({ name, kind }) => {
if (kind === 'provider' || name === 'LearnEth') { if (kind === 'provider') return {queueTimeout: 60000*4}
return {queueTimeout: 60000} if (name === 'LearnEth') return {queueTimeout: 60000}
}
return {queueTimeout: 10000} return {queueTimeout: 10000}
} }
await engine.onload() await engine.onload()

Loading…
Cancel
Save