mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-06-07 22:31:55 +00:00
update
This commit is contained in:
parent
8b9386b2f5
commit
af3456ffd7
@ -687,6 +687,7 @@ func (scheduler *SchedulerFair) Stop(jobName string) MsgStop {
|
|||||||
index = i
|
index = i
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
log.Info(index)
|
||||||
if index != -1 {
|
if index != -1 {
|
||||||
scheduler.queues[queue][index].Status = Stopped
|
scheduler.queues[queue][index].Status = Stopped
|
||||||
scheduler.historyMu.Lock()
|
scheduler.historyMu.Lock()
|
||||||
@ -805,5 +806,7 @@ func (scheduler *SchedulerFair) DebugDump() map[string]interface{} {
|
|||||||
res["resourceAllocations"] = scheduler.resourceAllocations
|
res["resourceAllocations"] = scheduler.resourceAllocations
|
||||||
res["allocatingGPU"] = scheduler.allocatingGPU
|
res["allocatingGPU"] = scheduler.allocatingGPU
|
||||||
res["IOUs"] = scheduler.IOUs
|
res["IOUs"] = scheduler.IOUs
|
||||||
|
res["queues"] = scheduler.queues
|
||||||
|
res["history"] = scheduler.history
|
||||||
return res
|
return res
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user