mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-06-06 22:01:55 +00:00
update
This commit is contained in:
parent
d5c4185951
commit
f8ea09f3c6
@ -433,7 +433,7 @@ func (scheduler *SchedulerFair) Schedule(job Job) {
|
||||
|
||||
job.Status = Created
|
||||
|
||||
job.BasePriority = -float64(time.Now().UnixNano()) / 100000000000000
|
||||
job.BasePriority = -float64(time.Now().UnixNano() / 100000) / 100000000000000
|
||||
scheduler.queues[queue][index] = job
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user