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

fix deadline

This commit is contained in:
2020-05-25 19:29:35 +08:00
parent aa685ce411
commit fd9f29932e
3 changed files with 33 additions and 33 deletions

View File

@@ -31,8 +31,6 @@ type SchedulerCapacity struct {
queuesSchedulingCnt map[string]int
queuesUsingGPUMu sync.Mutex
mu sync.Mutex
}
type FairJobSorter []Job
@@ -133,8 +131,6 @@ func (scheduler *SchedulerCapacity) Start() {
}()
} else {
log.Debug("No more jobs to scheduling ", time.Now())
scheduler.schedulingMu.Lock()
scheduler.schedulingMu.Unlock()
}
scheduler.queueMu.Unlock()
}