Closed jeffmccune closed 5 months ago
Previously a channel was used to limit concurrency. This is more difficult to read and comprehend than the inbuilt errorgroup.SetLimit functionality.
This patch uses errgroup.Group.SetLimit() to limit concurrency, avoid leaking go routines, and avoid unnecessary work.
errgroup.
Closes: #179
Previously a channel was used to limit concurrency. This is more difficult to read and comprehend than the inbuilt errorgroup.SetLimit functionality.
This patch uses
errgroup.
Group.SetLimit() to limit concurrency, avoid leaking go routines, and avoid unnecessary work.Closes: #179