From 705603a0880d9b974532c0925a6c7c684ed24ebf Mon Sep 17 00:00:00 2001 From: Karl Seguin Date: Wed, 19 Mar 2025 16:17:41 +0800 Subject: [PATCH] remove explicit thread stack size. The real win is having a global http_client, so the thread only needs a pointer. --- src/telemetry/lightpanda.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/telemetry/lightpanda.zig b/src/telemetry/lightpanda.zig index 4a54e34d..49fcc1b4 100644 --- a/src/telemetry/lightpanda.zig +++ b/src/telemetry/lightpanda.zig @@ -60,7 +60,7 @@ pub const LightPanda = struct { self.mutex.lock(); defer self.mutex.unlock(); if (self.thread == null) { - self.thread = try std.Thread.spawn(.{ .stack_size = 1024 * 1024 * 4 }, run, .{self}); + self.thread = try std.Thread.spawn(.{}, run, .{self}); } const node = try self.node_pool.create();