mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-06-07 22:31:55 +00:00
update
This commit is contained in:
parent
8d06ddd9a0
commit
1307cddedf
@ -58,7 +58,7 @@ func (scheduler *SchedulerFair) Start() {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
scheduler.schedulingMu.Lock()
|
scheduler.schedulingMu.Lock()
|
||||||
if scheduler.schedulingJobsCnt >= pool.poolsCount {
|
if scheduler.schedulingJobsCnt >= pool.poolsCount/10 {
|
||||||
scheduler.schedulingMu.Unlock()
|
scheduler.schedulingMu.Unlock()
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user