Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow configuring CDN requests max concurrency to reduce flakiness #773

Merged
merged 2 commits into from
Sep 12, 2024

Conversation

maikelvdh
Copy link
Contributor

Introducing COCOAPODS_CDN_MAX_CONCURRENCY configuration point to reduce the maximum concurrency of Hydra. The default max concurrency (200) can lead to flakiness like DNS resolution failure being marked as DoS attack OR missing authorization headers. This flakiness is also remarked in the documentation of typhoeus library.

@maikelvdh
Copy link
Contributor Author

@santam85 FYI you might encounter similar issue depending on your setup when using Artifactory CDN if your local repository is containing large amount of indexed specs.

Copy link
Member

@segiddins segiddins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good with a changelog entry

@maikelvdh maikelvdh changed the title Allow configuring Hydra max concurrency to reduce flakiness Allow configuring CDN requests max concurrency to reduce flakiness Aug 6, 2024
@maikelvdh
Copy link
Contributor Author

@segiddins thanks for reviewing, added the changelog entry accordingly.

@maikelvdh
Copy link
Contributor Author

@amorde sorry for tagging, but I noticed you were recently supporting merging PRs. would you mind to please take care of this one as well? thanks in advance!

@maikelvdh
Copy link
Contributor Author

@amorde would you mind to recheck it again and merge it? thanks!

@maikelvdh
Copy link
Contributor Author

@amorde sorry for asking again, but would you mind to recheck it and merge it? thanks a lot!

@maikelvdh
Copy link
Contributor Author

@segiddins would you mind to merge this PR as well? thanks!

@segiddins segiddins merged commit ed42621 into CocoaPods:master Sep 12, 2024
5 checks passed
@maikelvdh
Copy link
Contributor Author

Thanks @segiddins ❤️ ! Do you know by chance if there is a plan to produce a new release as well soon?

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.

4 participants