internal/vulndbreqs: increase parallelization by 2x Parallelization helps and now we are able to process a day worths of log. But we are still lagging behind in the past. Speed things up. Change-Id: I49df9353954a35801727f0d9f1407827f8eb25ea Reviewed-on: https://go-review.googlesource.com/c/pkgsite-metrics/+/606915 Auto-Submit: Zvonimir Pavlinovic <zpavlinovic@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Jonathan Amsterdam <jba@google.com>
diff --git a/internal/vulndbreqs/compute.go b/internal/vulndbreqs/compute.go index b757476..9bca480 100644 --- a/internal/vulndbreqs/compute.go +++ b/internal/vulndbreqs/compute.go
@@ -249,7 +249,7 @@ } g, ctx := errgroup.WithContext(ctx) - g.SetLimit(5) + g.SetLimit(10) for _, name := range objNames { name := name g.Go(func() error {