refactor: remove some log spam

This commit is contained in:
CJ van den Berg 2025-04-17 10:08:52 +02:00
parent ebfb9f7184
commit a9b902ab6c
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -179,11 +179,7 @@ pub fn release(self: *Self, query: *Query, comptime query_type: QueryType) void
pub const QuerySerializeError = (tss.SerializeError || tss.DeserializeError); pub const QuerySerializeError = (tss.SerializeError || tss.DeserializeError);
fn deserialize_query(query_bin: []const u8, language: ?*const treez.Language, allocator: std.mem.Allocator) QuerySerializeError!struct { *Query, *std.heap.ArenaAllocator } { fn deserialize_query(query_bin: []const u8, language: ?*const treez.Language, allocator: std.mem.Allocator) QuerySerializeError!struct { *Query, *std.heap.ArenaAllocator } {
std.log.warn("deserialize_query", .{});
var ts_query_out, const arena = try tss.fromCbor(query_bin, allocator); var ts_query_out, const arena = try tss.fromCbor(query_bin, allocator);
std.log.warn("decoded TSQuery", .{});
ts_query_out.language = @intFromPtr(language); ts_query_out.language = @intFromPtr(language);
const query_out: *Query = @alignCast(@ptrCast(ts_query_out)); const query_out: *Query = @alignCast(@ptrCast(ts_query_out));