1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-06-07 14:21:55 +00:00
This commit is contained in:
Newnius 2020-06-18 20:40:07 +08:00
parent 8b9386b2f5
commit af3456ffd7

View File

@ -687,6 +687,7 @@ func (scheduler *SchedulerFair) Stop(jobName string) MsgStop {
index = i
}
}
log.Info(index)
if index != -1 {
scheduler.queues[queue][index].Status = Stopped
scheduler.historyMu.Lock()
@ -805,5 +806,7 @@ func (scheduler *SchedulerFair) DebugDump() map[string]interface{} {
res["resourceAllocations"] = scheduler.resourceAllocations
res["allocatingGPU"] = scheduler.allocatingGPU
res["IOUs"] = scheduler.IOUs
res["queues"] = scheduler.queues
res["history"] = scheduler.history
return res
}