Skip to content

Commit

Permalink
add the length back again
Browse files Browse the repository at this point in the history
  • Loading branch information
djeebus committed Dec 19, 2023
1 parent d1291b3 commit f5c102b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/events/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func (ce *CheckEvent) ProcessApps(ctx context.Context) {

// Concurrently process all apps, with a corresponding error channel for reporting back failures
ce.addedAppsSet = make(map[string]struct{})
ce.appChannel = make(chan *v1alpha1.Application)
ce.appChannel = make(chan *v1alpha1.Application, len(ce.affectedItems.Applications))
ce.doneChannel = make(chan bool, len(ce.affectedItems.Applications))

// If the number of affected apps that we have is less than our worker limit, lower the worker limit
Expand Down

0 comments on commit f5c102b

Please sign in to comment.