1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-15 08:16:43 +00:00

update fair

This commit is contained in:
2020-05-28 23:39:51 +08:00
parent 68e6ade248
commit 2919ec085d

View File

@@ -54,7 +54,7 @@ func (scheduler *SchedulerFair) Start() {
go func() { go func() {
flag := true flag := true
for { for {
log.Debug("Scheduling") log.Info("Scheduling")
if !flag { /* no more job */ if !flag { /* no more job */
time.Sleep(time.Millisecond * 100) time.Sleep(time.Millisecond * 100)
} }