Skip to content

Commit

Permalink
#1899: scheduler: don't transition to idle right away
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed Sep 20, 2022
1 parent 15453b3 commit d411151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vt/scheduler/scheduler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ void Scheduler::runSchedulerOnceImpl(bool msg_only) {
*/
UnitType work = work_queue_.pop();
runWorkUnit(work);

} else {
// Enter idle state immediately after processing if relevant.
if (not is_idle_minus_term and num_term_msgs_ == work_queue_.size()) {
is_idle_minus_term = true;
Expand Down

0 comments on commit d411151

Please sign in to comment.