From 58f1aedb6b2256b7e04889ef632e906f58c14b9c Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 29 Jun 2020 16:16:08 +0200 Subject: [PATCH] Increase timeout for provider --- src/app.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/app.js b/src/app.js index a4bafb55d9..3ea5a5ba5b 100644 --- a/src/app.js +++ b/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()