Skip to content

Commit

Permalink
insert into map for tracking requested needs
Browse files Browse the repository at this point in the history
  • Loading branch information
somtochiama committed Aug 27, 2024
1 parent 589ce3c commit 13ca118
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/corro-agent/src/api/peer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1293,7 +1293,7 @@ pub async fn parallel_sync(
new_versions
.into_iter()
.map(|versions| {
range.remove(versions.clone());
range.insert(versions.clone());
SyncNeedV1::Full { versions }
})
.collect()
Expand All @@ -1318,7 +1318,7 @@ pub async fn parallel_sync(
seqs: new_seqs
.into_iter()
.map(|seqs| {
range.remove(seqs.clone());
range.insert(seqs.clone());
seqs
})
.collect(),
Expand Down

0 comments on commit 13ca118

Please sign in to comment.