Skip to content

Commit

Permalink
one extra view for Request tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
bfish713 committed Oct 24, 2024
1 parent 918f1f2 commit 2d0580d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/task-impls/src/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ impl<TYPES: NodeType, I: NodeImplementation<TYPES>> NetworkRequestState<TYPES, I

let cancel = shutdown_flag.load(Ordering::Relaxed)
|| state.vid_shares().contains_key(view)
|| state.cur_view() > *view;
|| state.cur_view() > *view + 1;
if cancel {
if let Some(Some(vid_share)) = state
.vid_shares()
Expand Down

0 comments on commit 2d0580d

Please sign in to comment.