authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-01-08 15:20:21-08:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-01-09 20:47:24-08:00
log09d96c4903926052c3141d6cfe036960adc54049
tree9c904b520469b3e9473039516de95fa57024915d
parentd66d0743d90f45f053bc41399bbc4b0adb0ffcef

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.

1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/Io/Threaded.zig+1-1
...@@ -1179,7 +1179,7 @@ const Syscall = struct {...@@ -1179,7 +1179,7 @@ const Syscall = struct {
11791179
1180const max_iovecs_len = 8;1180const max_iovecs_len = 8;
1181const splat_buffer_size = 64;1181const splat_buffer_size = 64;
1182const poll_buffer_len = 100;1182const poll_buffer_len = 32;
1183const default_PATH = "/usr/local/bin:/bin/:/usr/bin";1183const default_PATH = "/usr/local/bin:/bin/:/usr/bin";
11841184
1185comptime {1185comptime {