This commit is contained in:
Emil Lerch 2025-04-07 12:16:42 -07:00
parent d9398c0843
commit ea0f079473
Signed by: lobo
GPG key ID: A7B62D657EF764F8

View file

@ -121,7 +121,10 @@ pub const EventPoller = struct {
}
pub fn poll(self: *EventPoller) ![]SyncthingEvent {
var client = std.http.Client{ .allocator = self.allocator, .connection_pool = self.connection_pool };
var client = std.http.Client{
.allocator = self.allocator,
.connection_pool = self.connection_pool,
};
var arena = std.heap.ArenaAllocator.init(self.allocator);
defer arena.deinit();
const aa = arena.allocator();