-
Notifications
You must be signed in to change notification settings - Fork 340
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
feat(pullsync): rate limit handler #4799
Conversation
dea93ba
to
fc77ea9
Compare
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.
Hard to tell if handler() has actually changed since it was relocated in the file, but aside from that and my two comments, I have no issues with this. Looking forward to seeing if it actually works!
It'd be nice to see metrics on how many delays actually occur, and/or how long the delay might be, but given the package layering, I don't see a reasonable way to do this.
bdcae62
to
8ef3395
Compare
6098a46
to
fdf635a
Compare
Checklist
Description
Added a basic rate limiter to pullsync handler.
Open API Spec Version Changes (if applicable)
Motivation and Context (Optional)
Related Issue (Optional)
Screenshots (if appropriate):