Skip to content

Commit

Permalink
fix(int-queue): remove iter lock
Browse files Browse the repository at this point in the history
  • Loading branch information
drmick committed Jul 4, 2024
1 parent 57a31c3 commit cd632ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collator/src/internal_queue/queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ where
ranges: &FastHashMap<ShardIdent, ShardRange>,
for_shard_id: ShardIdent,
) -> Vec<Box<dyn StateIterator>> {
let _state_lock = self.state_lock.lock().await;
// let _state_lock = self.state_lock.lock().await;
let snapshot = self.persistent_state.snapshot();
let persistent_iter = self
.persistent_state
Expand Down

0 comments on commit cd632ec

Please sign in to comment.