fix doc workers
This commit is contained in:
parent
0cd4f264a3
commit
b6df47ed0c
@ -374,7 +374,7 @@ func (c *SchedulerCycle) run() {
|
||||
}
|
||||
|
||||
// workers launches `MaxWorkers` number of worker to execute job.
|
||||
// If job returns `ErrJobNotCompletedYet`, it re-schedules in the same slot.
|
||||
// If job returns `ErrJobNotCompletedYet`, it re-schedules in the current slot.
|
||||
func (c *SchedulerCycle) workers() {
|
||||
for i := 0; i < MaxWorkers; i++ {
|
||||
c.wg.Add(1)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user