Skip to content

Commit

Permalink
Correct rescheduling logic
Browse files Browse the repository at this point in the history
  • Loading branch information
frankmcsherry committed Nov 7, 2023
1 parent 612fc91 commit 6cab205
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/trace/implementations/spine_fueled.rs
Original file line number Diff line number Diff line change
Expand Up @@ -489,8 +489,8 @@ where
}
}

// Having performed all of our work, if more than one batch remains reschedule ourself.
if !self.exert_effort().is_some() {
// Having performed all of our work, if we should perform more work reschedule ourselves.
if self.exert_effort().is_some() {
if let Some(activator) = &self.activator {
activator.activate();
}
Expand Down

0 comments on commit 6cab205

Please sign in to comment.