From 09d96c4903926052c3141d6cfe036960adc54049 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 c1fc264fb176db41395c767ebe147e6ecad0558f..c7dc3dbf62e4c2cc5d53015a36cd7d18184bffe5 100644 --- a/lib/std/Io/Threaded.zig +++ b/lib/std/Io/Threaded.zig @@ -1179,7 +1179,7 @@ const Syscall = struct { 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