diff --git a/internal/services/dispatcher/server.go b/internal/services/dispatcher/server.go index e85ff3d67..5bc14975d 100644 --- a/internal/services/dispatcher/server.go +++ b/internal/services/dispatcher/server.go @@ -1064,12 +1064,6 @@ func (s *DispatcherImpl) handleStepRunStarted(ctx context.Context, request *cont TenantId: tenantId, }) - err = s.repo.StepRun().ReleaseStepRunSemaphore(ctx, tenantId, request.StepRunId, false) - - if err != nil { - s.l.Error().Err(err).Msgf("could not release semaphore for step run %s", request.StepRunId) - } - // send the event to the jobs queue err = s.mq.AddMessage(ctx, msgqueue.JOB_PROCESSING_QUEUE, &msgqueue.Message{ ID: "step-run-started",