From 58f1aedb6b2256b7e04889ef632e906f58c14b9c Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 29 Jun 2020 16:16:08 +0200 Subject: [PATCH 1/2] 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() From 89cd9b5db4e85fb5ecdc479893eadb43f3eb8262 Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 29 Jun 2020 16:22:19 +0200 Subject: [PATCH 2/2] Update app.js --- src/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.js b/src/app.js index 3ea5a5ba5b..cff9ec03d5 100644 --- a/src/app.js +++ b/src/app.js @@ -240,7 +240,7 @@ 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') return {queueTimeout: 60000*4} + if (kind === 'provider') return {queueTimeout: 60000 * 4} if (name === 'LearnEth') return {queueTimeout: 60000} return {queueTimeout: 10000} }