Skip to content

batches: use the minimum possible goroutines to fetch images#692

Merged
eseliger merged 1 commit intomainfrom
aharvey/limit-parallelism
Feb 7, 2022
Merged

batches: use the minimum possible goroutines to fetch images#692
eseliger merged 1 commit intomainfrom
aharvey/limit-parallelism

Conversation

@LawnGnome
Copy link
Copy Markdown
Contributor

This was spotted by @eseliger in the review for #647 — if total < parallelism, there's no real need to spawn extra goroutines, so let's not.

This was spotted by Erik in the review for #647 — if `total <
parallelism`, there's no real need to spawn extra goroutines, so let's
not.
@LawnGnome LawnGnome requested a review from a team February 5, 2022 00:50
@eseliger eseliger merged commit 73eb999 into main Feb 7, 2022
@eseliger eseliger deleted the aharvey/limit-parallelism branch February 7, 2022 11:55
scjohns pushed a commit that referenced this pull request Apr 24, 2023
This was spotted by Erik in the review for #647 — if `total <
parallelism`, there's no real need to spawn extra goroutines, so let's
not.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants