mirror of
https://github.com/go-gitea/gitea.git
synced 2025-07-30 07:43:34 +00:00
remove blockRunByConcurrency todo for jobs
* the behavior looks good
This commit is contained in:
parent
2481e83e45
commit
f585f90ff7
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user