fix panic under heavy load

This commit is contained in:
Emil Lerch 2023-06-15 20:03:51 -07:00
parent 8b8463cd6a
commit f697e69d45
Signed by: lobo
GPG Key ID: A7B62D657EF764F8

View File

@ -28,7 +28,7 @@ pub const Request = extern struct {
};
// If the library is Zig, we can use these helpers
var allocator: ?*std.mem.Allocator = null;
threadlocal var allocator: ?*std.mem.Allocator = null;
const log = std.log.scoped(.interface);