From 598ffe6368bf454b65c522d4dfbca8a1afc9a05c Mon Sep 17 00:00:00 2001 From: V Date: Sat, 25 Nov 2023 01:51:50 +0100 Subject: [PATCH] reporter: remove sleeps --- scripts/generateReport.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scripts/generateReport.ts b/scripts/generateReport.ts index cadf0c2..3cbab55 100644 --- a/scripts/generateReport.ts +++ b/scripts/generateReport.ts @@ -338,8 +338,6 @@ function runTime(token: string) { .then(r => r.text()) .then(t => t.includes(".module.wasm") || !t.includes("(this.webpackChunkdiscord_app=this.webpackChunkdiscord_app||[]).push")); - await new Promise(r => setTimeout(r, 150)); - if (isWasm) { invalidChunks.push(id); continue chunksLoop; @@ -371,8 +369,6 @@ function runTime(token: string) { // Loads a chunk if (!isWasm) await wreq.e(id as any); - - await new Promise(r => setTimeout(r, 150)); } // Make sure every chunk has finished loading