From da04cb169902527dbd9dd03bbad6423bd5d70fd8 Mon Sep 17 00:00:00 2001 From: kwaroran Date: Mon, 4 Mar 2024 22:19:31 +0900 Subject: [PATCH] Increase timeout for virtual JS execution --- src/ts/plugins/embedscript.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ts/plugins/embedscript.ts b/src/ts/plugins/embedscript.ts index 4ac3b178..5c3fc01f 100644 --- a/src/ts/plugins/embedscript.ts +++ b/src/ts/plugins/embedscript.ts @@ -68,7 +68,7 @@ function runVirtualJS(code:string){ clearInterval(interval) resolve(result.result) } - else if(performance.now() - startTime > 400){ + else if(performance.now() - startTime > 800){ clearInterval(interval) //restart worker worker.terminate()