1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-06-07 14:21:55 +00:00

update fair

This commit is contained in:
Newnius 2020-05-28 10:45:49 +08:00
parent b22cf6f680
commit d91bd4a3d3

View File

@ -80,7 +80,7 @@ func (scheduler *SchedulerFair) Start() {
bestQueue := "" bestQueue := ""
numberGPU := math.MaxInt64 numberGPU := math.MaxInt64
numberCPU := math.MaxInt64 //numberCPU := math.MaxInt64
/* phase 1 */ /* phase 1 */
for queue, jobs := range scheduler.queues { for queue, jobs := range scheduler.queues {
/* find smallest job */ /* find smallest job */