| ... | @@ -635,7 +635,7 @@ fn serializeIpc(start_serialized_len: usize, serialized_buffer: *Serialized.Buff | ... | @@ -635,7 +635,7 @@ fn serializeIpc(start_serialized_len: usize, serialized_buffer: *Serialized.Buff |
| 635 | const n = posix.read(fd, pipe_buf[bytes_read..]) catch |err| switch (err) { | 635 | const n = posix.read(fd, pipe_buf[bytes_read..]) catch |err| switch (err) { |
| 636 | error.WouldBlock => break, | 636 | error.WouldBlock => break, |
| 637 | else => |e| { | 637 | else => |e| { |
| 638 | std.log.warn("failed to read child progress data: {s}", .{@errorName(e)}); | 638 | std.log.debug("failed to read child progress data: {s}", .{@errorName(e)}); |
| 639 | main_storage.completed_count = 0; | 639 | main_storage.completed_count = 0; |
| 640 | main_storage.estimated_total_count = 0; | 640 | main_storage.estimated_total_count = 0; |
| 641 | continue :main_loop; | 641 | continue :main_loop; |
| ... | @@ -964,13 +964,13 @@ fn writeIpc(fd: posix.fd_t, serialized: Serialized) error{BrokenPipe}!void { | ... | @@ -964,13 +964,13 @@ fn writeIpc(fd: posix.fd_t, serialized: Serialized) error{BrokenPipe}!void { |
| 964 | if (posix.writev(fd, &vecs)) |written| { | 964 | if (posix.writev(fd, &vecs)) |written| { |
| 965 | const total = header.len + storage.len + parents.len; | 965 | const total = header.len + storage.len + parents.len; |
| 966 | if (written < total) { | 966 | if (written < total) { |
| 967 | std.log.warn("short write: {d} out of {d}", .{ written, total }); | 967 | std.log.debug("short write: {d} out of {d}", .{ written, total }); |
| 968 | } | 968 | } |
| 969 | } else |err| switch (err) { | 969 | } else |err| switch (err) { |
| 970 | error.WouldBlock => {}, | 970 | error.WouldBlock => {}, |
| 971 | error.BrokenPipe => return error.BrokenPipe, | 971 | error.BrokenPipe => return error.BrokenPipe, |
| 972 | else => |e| { | 972 | else => |e| { |
| 973 | std.log.warn("failed to send progress to parent process: {s}", .{@errorName(e)}); | 973 | std.log.debug("failed to send progress to parent process: {s}", .{@errorName(e)}); |
| 974 | return error.BrokenPipe; | 974 | return error.BrokenPipe; |
| 975 | }, | 975 | }, |
| 976 | } | 976 | } |