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
many: add refresh.rate-limit core option #5606
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
6b03013
many: add `snap set core network.rate-limit` option
mvo5 4a4a411
snapstate,store: support `core.refresh.rate-limit` to limit to auto-r…
mvo5 8ee1cdd
add juju/ratelimit to fedora.spec
mvo5 fa6ca88
snapstate: do not (ab)use the context to pass auto-refresh information
mvo5 83aec89
Merge remote-tracking branch 'upstream/master' into rate-limit
mvo5 1e85e83
strutil: add new ParseValueWithUnit
mvo5 637a712
strutil: add new ParseValueWithUnit
mvo5 9f4ca69
configcore,snapstate: allow only rate limit with units
mvo5 67c797c
Merge remote-tracking branch 'upstream/master' into rate-limit
mvo5 c30d164
update tests
mvo5 f07b003
address review feedback
mvo5 360df12
image: add store.DownloadOptions and remove RateLimitContext
mvo5 6cc7e79
Merge branch 'parseUnit' into rate-limit
mvo5 1c35f9a
Merge remote-tracking branch 'origin/parseUnit' into rate-limit
mvo5 8f08694
Merge remote-tracking branch 'upstream/master' into rate-limit
mvo5 d24c46f
Merge branch 'parseUnit' into rate-limit
mvo5 df0cbb8
Merge branch 'parseUnit' into rate-limit
mvo5 80cff0c
configstate,snapstate: update for new strutil.ParseByteSize name
mvo5 d6ae4e6
Merge remote-tracking branch 'upstream/master' into rate-limit
mvo5 36e78c6
Merge remote-tracking branch 'upstream/master' into rate-limit
mvo5 fa0011d
packaging: fix merge artifact
mvo5 c219838
Merge remote-tracking branch 'upstream/master' into rate-limit
mvo5 debb5c5
address review feedback
mvo5 93d7562
add missing unit tests
mvo5 f513f3b
store: add unit tests for download()
mvo5 3a956ad
remove download_test.go again, may come back in a separate PR
mvo5 File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Interesting :)