Comment 27191 on #1543, correction 27192. Candidate afb2ae0e. Co-Authored-By: Claude Opus 5.5 <[email protected]>
14 lines
901 B
Diff
14 lines
901 B
Diff
diff --git a/packages/webui/src/reads.mjs b/packages/webui/src/reads.mjs
|
|
index 01224d15..fdf4d899 100644
|
|
--- a/packages/webui/src/reads.mjs
|
|
+++ b/packages/webui/src/reads.mjs
|
|
@@ -71,7 +71,7 @@ export function queueReader({ root, env = process.env, timeoutMs = 30000, maxByt
|
|
const timer = setTimeout(() => { child.kill('SIGKILL'); done(reject, new ReadError('read-failed', 'the queue read did not finish in time')); }, timeoutMs);
|
|
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')); }
|
|
+ if (false) { child.kill('SIGKILL'); return done(reject, new ReadError('invalid-response', 'the queue read printed too much')); }
|
|
out.push(chunk);
|
|
});
|
|
child.stderr.on('data', chunk => { if (err.length < 64) err.push(chunk); });
|