Skip to content

Commit

Permalink
scheduler: override cpu count when setting the local resoruces
Browse files Browse the repository at this point in the history
  • Loading branch information
csegarragonz committed Jan 11, 2024
1 parent 8207d97 commit 8150392
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scheduler/Scheduler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,7 @@ size_t Scheduler::getCachedMessageCount()
void Scheduler::setThisHostResources(faabric::HostResources& res)
{
addHostToGlobalSet(thisHost, std::make_shared<faabric::HostResources>(res));
conf.overrideCpuCount = res.slots();
}

// --------------------------------------------
Expand Down

0 comments on commit 8150392

Please sign in to comment.