Skip to content

Commit

Permalink
fix: invert retention retain predicate
Browse files Browse the repository at this point in the history
Refs: #86
  • Loading branch information
hdevalke authored and marlonbaeten committed Jun 26, 2023
1 parent 2b14658 commit 736a552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ async fn storage(
.unwrap()
.as_secs() as i64;

storage.retain(|_, mail_message| mail_message.time < remove_before);
storage.retain(|_, mail_message| mail_message.time > remove_before);
}
}
},
Expand Down

0 comments on commit 736a552

Please sign in to comment.