-
Notifications
You must be signed in to change notification settings - Fork 1k
Indexer client backoff sleep #4702
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
Conversation
e4c5ded to
a1c6693
Compare
batconjurer
left a comment
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.
This works fine, but it might be nicer to rename the old trait funcs *_inner and then have the default impls on the trait wrap the *_inner funcs with the with_retry function. That way future trait impls don't make the same mistake
6165b4f to
76788fd
Compare
batconjurer
left a comment
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.
Looks a lot better, thanks!
|
@sug0 @jurevans @mateuszjasiuk is this important to have in the near-future? |
|
@brentstone I think it might help with request throttling when reverse proxying indexer queries through some CDNs |
mateuszjasiuk
left a comment
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.
Works fine with namadillo
Describe your changes
Add backoff sleep between MASP indexer client failed requests.
Checklist before merging
breaking::labelsnamada-docsreponamada-indexerornamada-masp-indexer, a corresponding PR is opened in that repo