Skip to content

Conversation

@markus-wa
Copy link

This allows us to control the max number of goroutines that can be ran concurrently

@markus-wa markus-wa requested review from a team, emilymianeil and sarahethompson February 13, 2024 17:22
@markus-wa
Copy link
Author

note: golang.org/x/sync/errgroup already has this functionality - but unfortunately they only return the first error when more than one occurred - so I figured it made sense to add the SetLimit functionality here instead

Co-authored-by: Chris Campo <ccampo133@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants