diff options
Diffstat (limited to 'test/replicas.zig')
| -rw-r--r-- | test/replicas.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/replicas.zig b/test/replicas.zig index 280b85f4..338dae16 100644 --- a/test/replicas.zig +++ b/test/replicas.zig @@ -483,7 +483,8 @@ fn push(q: *std.PriorityQueue(Msg, void, Msg.order), nn: *u64, m: Msg) !void { fn flushAll(sc: *replica.Screens, core: *pardes.Pardes, ps: []const u16, list: *std.ArrayListUnmanaged([]u8), q: *std.PriorityQueue(Msg, void, Msg.order), nn: *u64, now: u64, dl: []Link, rnd: std.Random, ow: u64, jt: u64, vs: *std.AutoHashMapUnmanaged(u64, u64), tot: *Totals) !void { for (ps, 0..) |peer, c| { list.clearRetainingCapacity(); - try sc.flush(core, peer, list); + // No pane of a kind here: the view a Shadow is painted for is moot. + try sc.flush(core, peer, 0, list); for (list.items) |bytes| { tot.deltas += 1; tot.delta_bytes += bytes.len; |
