1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-13 07:46:43 +00:00
This commit is contained in:
2020-05-03 11:33:22 +08:00
parent b7f63a4052
commit da754b3336

View File

@@ -89,7 +89,7 @@ func (scheduler *SchedulerFair) Start() {
for {
log.Debug("Scheduling")
if !flag {
time.Sleep(time.Second * 100)
time.Sleep(time.Millisecond * 100)
}
flag = false
if !scheduler.enabled {