mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-06 04:38:51 +00:00
Remove CancelJobsByJobConcurrency in PickTask
This commit is contained in:
parent
91fccb7cc8
commit
2e6032a9f0
@ -53,10 +53,6 @@ func PickTask(ctx context.Context, runner *actions_model.ActionRunner) (*runnerv
|
||||
return nil
|
||||
}
|
||||
|
||||
if err := CancelJobsByJobConcurrency(ctx, t.Job); err != nil {
|
||||
return fmt.Errorf("CancelJobs: %w", err)
|
||||
}
|
||||
|
||||
if err := t.LoadAttributes(ctx); err != nil {
|
||||
return fmt.Errorf("task LoadAttributes: %w", err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user