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
Fixes #34345 - Download rate setting for remotes #9910
Conversation
Issues: #34345 |
a736ec9
to
175ea87
Compare
175ea87
to
8811ba0
Compare
@rverdile sadly, this needs a rebase. shouldn't affect my testing though since it looks isolated to the vcr cassettes! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see the rate_limit being set on the pulp3 remote:
pulpcore=# select name, rate_limit from core_remote;
name | rate_limit
---------------------------------------------------------------------------+------------
2_duplicate |
pulp-uuid-rhel_6_x86_64 |
RHN_Tools_for_Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6Server-63190 | 0
Red_Hat_Satellite_Tools_6_9_for_RHEL_8_x86_64_RPMs-199753 | 0
AnimalsSHA512-643304 | 1
NeededErrata-567752 | 0
9 |
APJ!
@rverdile, this pull request is currently not mergeable. Please rebase against the master branch and push again. If you have a remote called 'upstream' that points to this repository, you can do this by running:
This message was auto-generated by Foreman's prprocessor |
8811ba0
to
8c324f8
Compare
8c324f8
to
65d015b
Compare
(cherry picked from commit 7776b81)
(cherry picked from commit 7776b81)
(cherry picked from commit 7776b81)
What are the changes introduced in this pull request?
Adds global setting "Download Rate Limit" which is used to set maximum rate limit when syncing.
Considerations taken when implementing this change?
The setting is global to affect all repositories.
"Use 0 for no limit" may be an unnecessary clarification. Not sure if that's a known interaction with settings.
What are the testing steps for this pull request?
pulp show --href <remote href>
to see that the remote gets the download rate.