1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-06-07 14:21:55 +00:00
This commit is contained in:
Newnius 2020-06-18 21:22:08 +08:00
parent a70cf21920
commit d5c4185951

View File

@ -433,7 +433,7 @@ func (scheduler *SchedulerFair) Schedule(job Job) {
job.Status = Created
job.BasePriority = -float64(time.Now().Unix()) / 10000000000
job.BasePriority = -float64(time.Now().UnixNano()) / 100000000000000
scheduler.queues[queue][index] = job
}