mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-16 00:26:43 +00:00
update scheduler_priority
This commit is contained in:
@@ -103,6 +103,7 @@ func (scheduler *SchedulerPriority) Schedule(job Job) {
|
||||
right = mid - 1
|
||||
}
|
||||
}
|
||||
fmt.Println(index)
|
||||
scheduler.queue = append(scheduler.queue, Job{})
|
||||
|
||||
copy(scheduler.queue[index+1:], scheduler.queue[index:])
|
||||
|
||||
Reference in New Issue
Block a user