-
Notifications
You must be signed in to change notification settings - Fork 331
add support of rate limit and timeout #1347
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
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
6ec7eee
wip timeout
bnjjj d95f006
wip timeout
bnjjj a6a39bb
add global rate limit
bnjjj 69052fb
better error handling
bnjjj 8933c76
remove some 'static trait bounds
d82ad8a
create the execution service on new requests
ad740bb
Merge branch 'api-1.0' into geal/remove-buffer-from-subgraphs
c86e57c
add an ExecutionServiceFactory
900da83
add a subgraph service factory
8d55f0a
try to clean up the API
75a0bcf
make a working version
4a78126
Merge branch 'api-1.0' of github.com:apollographql/router into bnjjj/…
bnjjj 5244277
Merge branch 'geal/remove-buffer-from-subgraphs' of github.com:apollo…
bnjjj f89a9c1
add the MakeSubgraphService trait
b2626fe
remove unused code
8f3b807
wip
bnjjj be791f6
Merge branch 'geal/remove-buffer-from-subgraphs' of github.com:apollo…
bnjjj c7d11fe
fix tests
1c51f9a
useless import
bnjjj 709aa7e
Merge branch 'geal/remove-buffer-from-subgraphs' of github.com:apollo…
bnjjj fed5dac
add tests
bnjjj 4e91563
add tests
bnjjj 80bb2a5
Merge branch 'api-1.0' of github.com:apollographql/router into bnjjj/…
bnjjj 6de0678
Merge branch 'api-1.0' of github.com:apollographql/router into bnjjj/…
bnjjj dba0522
fix snapshot
bnjjj 4557796
add documentation
bnjjj 33c06ed
delete useless comments
bnjjj c72a79d
changelog
bnjjj aed3e49
Apply suggestions from code review
bnjjj 3a419bc
Merge branch 'main' of github.com:apollographql/router into bnjjj/fea…
bnjjj 71bc88e
clean cargo.toml
bnjjj 0013c3b
improve rate limit algorithm by using sliding window and directly rej…
bnjjj 1ec4978
Merge branch 'bnjjj/feat_rate_limit_timeout' of github.com:apollograp…
bnjjj 254b190
lint
bnjjj 9e0c9de
update documentation and apply review comments
bnjjj f5f741a
Merge branch 'main' of github.com:apollographql/router into bnjjj/fea…
bnjjj 7ad5af2
fix test
bnjjj deeae78
Merge branch 'main' of github.com:apollographql/router into bnjjj/fea…
bnjjj 76bb88e
address review's comments
bnjjj 8746a93
address review's comments
bnjjj 27c5093
fix
bnjjj 11912b2
Merge branch 'main' of github.com:apollographql/router into bnjjj/fea…
bnjjj 8b52c6c
Merge branch 'main' of github.com:apollographql/router into bnjjj/fea…
bnjjj 01f5090
fix config for traffic_shaping
bnjjj e68d320
Merge branch 'main' of github.com:apollographql/router into bnjjj/fea…
bnjjj 33f6eb1
change rate_limit to global_rate_limit
bnjjj b1abba4
Merge branch 'main' of github.com:apollographql/router into bnjjj/fea…
bnjjj 39d1406
address review comments
bnjjj 3af8c76
Update apollo-router/src/plugins/traffic_shaping/rate/rate.rs
bnjjj 8717d13
lower the latency for tests
bnjjj 553388e
Merge branch 'bnjjj/feat_rate_limit_timeout' of github.com:apollograp…
bnjjj 7ab5fc6
Merge branch 'main' of github.com:apollographql/router into bnjjj/fea…
bnjjj 6fc0356
refactor + add documentation
bnjjj 7a81ffd
Merge branch 'main' of github.com:apollographql/router into bnjjj/fea…
bnjjj 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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.