Skip to content

Commit cd1c499

Browse files
committed
fix: order push schedule by most-needed (i.e. most hosts needed)
1 parent 008c352 commit cd1c499

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

stackslib/src/net/stackerdb/sync.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,6 @@ impl<NC: NeighborComms> StackerDBSync<NC> {
343343
.collect();
344344

345345
schedule.sort_by(|item_1, item_2| item_1.1.len().cmp(&item_2.1.len()));
346-
schedule.reverse();
347346
test_debug!(
348347
"{:?}: Will push up to {} chunks for {}",
349348
network.get_local_peer(),

0 commit comments

Comments
 (0)