fix panic under heavy load
This commit is contained in:
parent
8b8463cd6a
commit
f697e69d45
|
@ -28,7 +28,7 @@ pub const Request = extern struct {
|
||||||
};
|
};
|
||||||
|
|
||||||
// If the library is Zig, we can use these helpers
|
// 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);
|
const log = std.log.scoped(.interface);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user