Skip to content

Commit

Permalink
Update glean-core/src/upload/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Jan-Erik Rediger <badboy@archlinux.us>
  • Loading branch information
Beatriz Rizental and badboy authored Aug 7, 2020
1 parent 586d84e commit 26f2a1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glean-core/src/upload/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ impl PingUploadManager {

let mut pending_pings_directory_size: usize = 0;
let mut deleting = false;
// The pending pings vector is sorted by date in asceding order (oldest -> newest).
// The pending pings vector is sorted by date in ascending order (oldest -> newest).
// We need to calculate the size of the pending pings directory
// and delete the **oldest** pings in case quota is reached.
// Thus, we reverse the order of the pending pings vector,
Expand Down

0 comments on commit 26f2a1f

Please sign in to comment.