remove explicit thread stack size.

The real win is having a global http_client, so the thread only needs a pointer.
This commit is contained in:
Karl Seguin
2025-03-19 16:17:41 +08:00
parent ba8a0179d5
commit 705603a088

View File

@@ -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();