Skip to content

Commit

Permalink
planner: propagate the single host hint (not set it in terms of the d…
Browse files Browse the repository at this point in the history
…ecision)
  • Loading branch information
csegarragonz committed Jan 10, 2024
1 parent c2a13a7 commit 856d647
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/planner/Planner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -768,10 +768,8 @@ void Planner::dispatchSchedulingDecision(
hostRequests[thisHost]->set_type(req->type());
hostRequests[thisHost]->set_subtype(req->subtype());
hostRequests[thisHost]->set_contextdata(req->contextdata());

if (decision->isSingleHost()) {
hostRequests[thisHost]->set_singlehost(true);
}
// Propagate the single host hint
hostRequests[thisHost]->set_singlehost(req->singlehost());
}

*hostRequests[thisHost]->add_messages() = msg;
Expand Down

0 comments on commit 856d647

Please sign in to comment.