aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--worker/exec.mjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/worker/exec.mjs b/worker/exec.mjs
index 81dba8b..d8ca899 100644
--- a/worker/exec.mjs
+++ b/worker/exec.mjs
@@ -20,7 +20,7 @@ process.once("message", async ({ code: originalCode, input }) => {
code = PRELUDE + originalCode;
}
- const BUFFER_MAX = 1024;
+ const BUFFER_MAX = 10 * 1024;
let stdinPos = 0; // bytewise
const stdinBuf = Buffer.from(input);