From 3ef1266582115baac5fa1ca299092140f7574684 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Thu, 8 Jan 2026 15:20:21 -0800 Subject: [PATCH] std.Io.Threaded: set poll_buffer_len to 32 reasoning is that polling with large amount of operations will be rarely done with std.Io.Threaded. However this still provides the opportunity to provide concurrency for any real world use cases that need it. --- lib/std/Io/Threaded.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/Io/Threaded.zig b/lib/std/Io/Threaded.zig index e58d923793..55b3596ee7 100644 --- a/lib/std/Io/Threaded.zig +++ b/lib/std/Io/Threaded.zig @@ -1323,7 +1323,7 @@ fn waitForApcOrAlert() void { const max_iovecs_len = 8; const splat_buffer_size = 64; -const poll_buffer_len = 100; +const poll_buffer_len = 32; const default_PATH = "/usr/local/bin:/bin/:/usr/bin"; comptime {