From 4ffe41246472f35760c52570da6adb53f67dc5f7 Mon Sep 17 00:00:00 2001 From: lvwmwm Date: Fri, 18 Sep 2026 16:48:48 -0300 Subject: [PATCH] chore: remove decompiler timeout cap --- src/update/tasks/decompile.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/update/tasks/decompile.ts b/src/update/tasks/decompile.ts index 38b9620dc28..0a03e9cfc99 100644 --- a/src/update/tasks/decompile.ts +++ b/src/update/tasks/decompile.ts @@ -8,16 +8,9 @@ import { handleShellErr, join } from "../utils"; const gzipWorkerURL = new URL("decompile-gzip.ts", import.meta.url).href; -const DECOMPILE_TIMEOUT_MS = 60 * 60 * 1000; - async function runDecompiler(cmd: string[], label: string) { const proc = spawn({ cmd, stdout: "pipe", stderr: "pipe", stdin: "ignore" }); - const timer = setTimeout(() => { - console.warn(`${label} exceeded ${DECOMPILE_TIMEOUT_MS / 1000}s, killing it`); - proc.kill(); - }, DECOMPILE_TIMEOUT_MS); const exitCode = await proc.exited; - clearTimeout(timer); const out = `${await new Response(proc.stdout).text().catch(() => "")}${await new Response(proc.stderr) .text() .catch(() => "")}`.trim();