Increase SMTP transaction logging details

This commit is contained in:
mdecimus
2024-08-21 16:12:01 +02:00
parent 6d76b26fb8
commit 147d9ded86
47 changed files with 395 additions and 312 deletions

View File

@@ -340,12 +340,12 @@ impl SpanCollector {
fn into_vec(self) -> Vec<u64> {
match self {
Self::Vec(mut vec) => {
vec.sort_unstable();
vec.sort_unstable_by(|a, b| b.cmp(a));
vec
}
Self::HashSet(set) => {
let mut vec: Vec<u64> = set.into_iter().collect();
vec.sort_unstable();
vec.sort_unstable_by(|a, b| b.cmp(a));
vec
}
Self::Empty => Vec::new(),