Skip to content

Commit

Permalink
300 is a fair limit
Browse files Browse the repository at this point in the history
  • Loading branch information
Owen3H committed Apr 22, 2024
1 parent 7095fba commit 77c952b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion v1/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func PackagesFromCommunities(communities []Community) (PackageList, error) {
amt := len(communities)

g := errgroup.Group{}
g.SetLimit(200)
g.SetLimit(300)

var list PackageList
var mut sync.Mutex
Expand Down
1 change: 0 additions & 1 deletion v1/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ func (list PackageList) ExcludeCategories(categories ...string) PackageList {
}

func (original *PackageList) AddFlat(list PackageList) {
// TODO: Fix data race
*original = append(*original, list...)
}

Expand Down

0 comments on commit 77c952b

Please sign in to comment.