Skip to content

Commit 7315a75

Browse files
TalgarrCopilot
andauthored
Update analyze/analyze.go
Co-authored-by: Copilot <[email protected]> Signed-off-by: Sébastien Graveline <[email protected]>
1 parent 9c27130 commit 7315a75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

analyze/analyze.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ func (a *Analyzer) AnalyzeOrgStaleBranch(ctx context.Context, org string, number
238238
bar := a.progressBar(0, "Find unique workflows")
239239

240240
var reposWg sync.WaitGroup
241-
errChan := make(chan error, 1)
241+
errChan := make(chan error, maxGoroutines)
242242
maxGoroutines := 2
243243
if numberOfGoroutines != nil {
244244
maxGoroutines = *numberOfGoroutines

0 commit comments

Comments
 (0)