-
Notifications
You must be signed in to change notification settings - Fork 24
Throttle api #184
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
Merged
Merged
Throttle api #184
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
47e7f6c
Introduce explicit throttle API calls
NelsonVides af068a6
Introduce interarrival api to amoc throttle
NelsonVides df4b9e4
Cosmetic update to throttle docs
NelsonVides a2f225d
Upgrade all throttle calls to use only explicit config maps
NelsonVides 2ae0719
Introduce call to throttle-unlock mechanism
NelsonVides e09fdf1
Remove non-named-maps change_rate helpers
NelsonVides 1d9b606
Extract config verification for both regular start and gradual changes
NelsonVides 1672ec4
Separate type definitions and comments
NelsonVides e8d91ef
Use printable state for format_status
NelsonVides 764bce5
Fix return types from standard OTP behaviours
NelsonVides 66cf647
Improve documentation and types on rate, interarrival, and interval
NelsonVides 2caa2c7
Keep throttle processes extremely simple
NelsonVides d1efeaa
Paralellism is really an implementation detail, hide it
NelsonVides ce274fd
Update rebar3 in CI
NelsonVides 9cd5270
Upgrade telemetry and other dev plugins
NelsonVides d3c8303
Improve documentation details
NelsonVides 9938ca7
Add a simple rate version of change_rate as for the start/1 interface
NelsonVides cf7f2b4
Fix according to review
NelsonVides 4e56694
Fix interval and parallelism according to review
NelsonVides 6ff0b1c
Update documentation
NelsonVides 2176208
Fix creating a interval=0 throttle together with a test
NelsonVides 00cf723
Extract throttle config helper module
NelsonVides a86bd20
Remove redundant case-of
NelsonVides cf873f1
timeouts are not needed when delay has been configured to infinity
NelsonVides 4972b26
Move pool logic into pool module only
NelsonVides de7e6f8
Refactor gradual config logic away from the controller
NelsonVides 282eb2a
Property-test shape of rates in gradual plan
NelsonVides caa556e
Rework unlock as just a wrapper around change_rate
NelsonVides 7ca0742
Use module macro instead of raw name when it applies
NelsonVides b1c3f76
Add tests for more combinations of rate and interarrival at start and…
NelsonVides 7b4dcd9
Leave running processes unblocked, removing from the group is enough
NelsonVides 92ef315
Proper testing for pool config
NelsonVides File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
## API | ||
|
||
See `amoc_coordinator`. | ||
See `m:amoc_coordinator`. | ||
|
||
## Description | ||
|
||
|
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{"1.2.0", | ||
[{<<"telemetry">>,{pkg,<<"telemetry">>,<<"1.2.1">>},0}]}. | ||
[{<<"telemetry">>,{pkg,<<"telemetry">>,<<"1.3.0">>},0}]}. | ||
[ | ||
{pkg_hash,[ | ||
{<<"telemetry">>, <<"68FDFE8D8F05A8428483A97D7AAB2F268AAFF24B49E0F599FAA091F1D4E7F61C">>}]}, | ||
{<<"telemetry">>, <<"FEDEBBAE410D715CF8E7062C96A1EF32EC22E764197F70CDA73D82778D61E7A2">>}]}, | ||
{pkg_hash_ext,[ | ||
{<<"telemetry">>, <<"DAD9CE9D8EFFC621708F99EAC538EF1CBE05D6A874DD741DE2E689C47FEAFED5">>}]} | ||
{<<"telemetry">>, <<"7015FC8919DBE63764F4B4B87A95B7C0996BD539E0D499BE6EC9D7F3875B79E6">>}]} | ||
]. |
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.
Uh oh!
There was an error while loading. Please reload this page.