Increase timeout for provider

uiCheck
yann300 4 years ago committed by GitHub
parent 2706a6af8e
commit 3f04945a1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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