mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-13 07:46:43 +00:00
update
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user