Skip to content

Commit

Permalink
Update console-subscriber/src/aggregator/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Eliza Weisman <eliza@elizas.website>
  • Loading branch information
grahamking and hawkw authored Jan 31, 2024
1 parent d0afdef commit 1ee162b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions console-subscriber/src/aggregator/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,8 @@ impl Aggregator {
"Message too big, reduced retention",
);

if self.retention <= MIN_RETENTION {
self.retention = MIN_RETENTION;
if self.retention <= self.publish_interval {
self.retention = self.publish_interval;
break None;
}
};
Expand Down

0 comments on commit 1ee162b

Please # to comment.