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

Retry brew requests [CLOUDDST-22680] #479

Merged

Conversation

emilyzheng
Copy link
Contributor

non-logged-in brew requests are not retried by default. Enable the retry to reduce push failures caused by brew connection issues.

@@ -134,6 +134,7 @@ def __init__(
timeout=60 * 30,
cache=None,
executor=None,
koji_opts=None,
Copy link
Member

Choose a reason for hiding this comment

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

Can we please not add this to the public API? I think it would be fine to simply hardcode that {"anon_retry": True} is always used, and not allow the caller to set the options.

Nothing in the API/docs currently promises that KojiSource works by using a koji.ClientSession, it's only an implementation detail. Adding this API is exposing that implementation detail and making it potentially harder to change in the future.

non-logged-in brew requests are not retried by default. Enable the
retry to reduce push failures caused by brew connection issues.
@emilyzheng emilyzheng merged commit 285c7bc into release-engineering:master May 14, 2024
6 checks passed
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.

None yet

2 participants