Skip to content

Commit f585f90

Browse files
committed
remove blockRunByConcurrency todo for jobs
* the behavior looks good
1 parent 2481e83 commit f585f90

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

routers/web/repo/actions/view.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,6 @@ func Rerun(ctx *context_module.Context) {
472472

473473
for _, j := range rerunJobs {
474474
// jobs other than the specified one should be set to "blocked" status
475-
// TODO respect blockRunByConcurrency here?
476475
shouldBlock := j.JobID != job.JobID || blockRunByConcurrency
477476
if err := rerunJob(ctx, j, shouldBlock); err != nil {
478477
ctx.ServerError("RerunJob", err)

0 commit comments

Comments
 (0)