1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-15 08:16:43 +00:00

update fair

This commit is contained in:
2020-05-28 19:38:46 +08:00
parent 4a91d71c26
commit 911796da2c
3 changed files with 25 additions and 23 deletions

View File

@@ -911,6 +911,7 @@ func (pool *ResourcePool) releaseResource(job Job, agent NodeStatus) {
/* in case node is offline */
if !ok {
/* TODO, update usingTotalGPU correctly */
log.Warn("node ", agent.ClientID, " not present")
return
}
for _, gpu := range agent.Status {