Update docs, tests, and release prep (#629)

This commit is contained in:
John Roesler
2023-12-11 10:39:59 -06:00
committed by GitHub
parent 5814fbcb6f
commit aa4400d224
16 changed files with 230 additions and 199 deletions
+7
View File
@@ -231,6 +231,13 @@ func (e *executor) limitModeRunner(name string, in chan uuid.UUID, wg *waitGroup
return
case e.jobIDsOut <- j.id:
}
// remove the limiter block to allow another job to be scheduled
if limitMode == LimitModeReschedule {
select {
case <-rescheduleLimiter:
default:
}
}
continue
}
e.limitMode.singletonJobs[id] = struct{}{}