mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-12 23:36:44 +00:00
update
This commit is contained in:
@@ -272,7 +272,7 @@ func (scheduler *SchedulerFair) Start() {
|
||||
}
|
||||
|
||||
/* support schedule ahead & share */
|
||||
if bestQueue != "" && len(scheduler.schedulingJobs) == 0 {
|
||||
if bestQueue == "" && len(scheduler.schedulingJobs) == 0 {
|
||||
maxQuota := 0
|
||||
for queue, jobs := range scheduler.queues {
|
||||
if len(jobs) > 0 && len(jobs[0].Tasks) == 1 && jobs[0].Tasks[0].NumberGPU == 1 {
|
||||
|
||||
Reference in New Issue
Block a user