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:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user