From e0d06b40e3681cc9aad09764987d079fb0f9e0fa 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 e58d923793ef84b22e2132255604dd09633d5364..55b3596ee79b47343ea391462488683aa734f418 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 { -- 2.54.0