Skip to content

Commit 705603a

Browse files
committed
remove explicit thread stack size.
The real win is having a global http_client, so the thread only needs a pointer.
1 parent ba8a017 commit 705603a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/telemetry/lightpanda.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ pub const LightPanda = struct {
6060
self.mutex.lock();
6161
defer self.mutex.unlock();
6262
if (self.thread == null) {
63-
self.thread = try std.Thread.spawn(.{ .stack_size = 1024 * 1024 * 4 }, run, .{self});
63+
self.thread = try std.Thread.spawn(.{}, run, .{self});
6464
}
6565

6666
const node = try self.node_pool.create();

0 commit comments

Comments
 (0)