mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 19:51:05 +00:00
Fix busy loops. (#3392)
This commit is contained in:
@@ -806,8 +806,8 @@ impl AvailabilityRecoverySubsystem {
|
||||
}
|
||||
}
|
||||
}
|
||||
output = state.interactions.next() => {
|
||||
if let Some((candidate_hash, result)) = output.flatten() {
|
||||
output = state.interactions.select_next_some() => {
|
||||
if let Some((candidate_hash, result)) = output {
|
||||
state.availability_lru.put(candidate_hash, result);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user