修改任务没有执行的问题

This commit is contained in:
Yun
2025-10-14 12:07:31 +08:00
parent de3568de42
commit 49f9e8bde6
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -529,7 +529,7 @@ func (c *Cluster) executeTasks() {
return
case <-c.ctx.Done():
return
case <-c.workerChan:
case c.workerChan <- struct{}{}:
if c.usePriority && !c.priority.IsLatest(c.ctx) {
time.Sleep(5 * time.Second)
continue