Skip to content

Commit

Permalink
don't reverse change order when handling crates.io index updates
Browse files Browse the repository at this point in the history
  • Loading branch information
syphar committed Nov 8, 2023
1 parent 5a86c4a commit 4522e78
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/build_queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,9 +290,6 @@ impl BuildQueue {

debug!("queueing changes from {last_seen_reference} to {new_reference}");

// I believe this will fix ordering of queue if we get more than one crate from changes
changes.reverse();

for change in &changes {
if let Some((ref krate, ..)) = change.crate_deleted() {
match delete_crate(&mut conn, &self.storage, &self.config, krate)
Expand Down

0 comments on commit 4522e78

Please sign in to comment.