Files
stack/agents/darkwing/work/queue-54-review/r1/mut/D21.diff
T
jason.woltjeandClaude Opus 5.5 8a3ded5335 review(row54): round 1 packet, changes (darkwing)
Review of #1543 candidate dba2429e: gate green with Docker, 31 mutants
(26 killed), Node, import and Chromium probes. Posted as comment 27186.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-10 15:47:54 -05:00

14 lines
989 B
Diff

diff --git a/packages/webui/src/reads.mjs b/packages/webui/src/reads.mjs
index 0443a7c9..be748ef1 100644
--- a/packages/webui/src/reads.mjs
+++ b/packages/webui/src/reads.mjs
@@ -64,7 +64,7 @@ export function queueReader({ root, env = process.env, timeoutMs = 30000, maxByt
const out = [], err = [];
let size = 0, settled = false;
const done = (fn, value) => { if (!settled) { settled = true; clearTimeout(timer); fn(value); } };
- const timer = setTimeout(() => { child.kill('SIGKILL'); done(reject, new ReadError('read-failed', 'the queue read did not finish in time')); }, timeoutMs);
+ const timer = setTimeout(() => { child.kill('SIGKILL'); done(reject, new ReadError('read-failed', 'the queue read did not finish in time')); }, timeoutMs * 1000);
child.stdout.on('data', chunk => {
size += chunk.length;
if (size > maxBytes) { child.kill('SIGKILL'); return done(reject, new ReadError('invalid-response', 'the queue read printed too much')); }