diff --git a/internal/services/executor/executor.go b/internal/services/executor/executor.go index 6bada90..5ea3fab 100644 --- a/internal/services/executor/executor.go +++ b/internal/services/executor/executor.go @@ -778,6 +778,7 @@ func (e *Executor) executeTask(ctx context.Context, et *types.ExecutorTask) { if !e.runningTasks.addIfNotExists(et.ID, rt) { log.Debugf("task %s already running", et.ID) + rt.Unlock() return }