From f585f90ff750195d092bad657f118429e0a997bd Mon Sep 17 00:00:00 2001 From: Christopher Homberger Date: Fri, 25 Jul 2025 15:44:53 +0200 Subject: [PATCH] remove blockRunByConcurrency todo for jobs * the behavior looks good --- routers/web/repo/actions/view.go | 1 - 1 file changed, 1 deletion(-) diff --git a/routers/web/repo/actions/view.go b/routers/web/repo/actions/view.go index 79d01b47480..6875d964ecc 100644 --- a/routers/web/repo/actions/view.go +++ b/routers/web/repo/actions/view.go @@ -472,7 +472,6 @@ func Rerun(ctx *context_module.Context) { for _, j := range rerunJobs { // jobs other than the specified one should be set to "blocked" status - // TODO respect blockRunByConcurrency here? shouldBlock := j.JobID != job.JobID || blockRunByConcurrency if err := rerunJob(ctx, j, shouldBlock); err != nil { ctx.ServerError("RerunJob", err)