Skip to content
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

Respect backoffs #3

Open
ArtOfCode- opened this issue May 12, 2017 · 2 comments
Open

Respect backoffs #3

ArtOfCode- opened this issue May 12, 2017 · 2 comments

Comments

@ArtOfCode-
Copy link
Member

We could do with respecting backoffs. That's not as simple as it sounds, because we only need to respect backoffs if a request returns a backoff and the subsequent request uses the same key. Since we use whatever key happens to be passed in a request that requires an API hit, that's not always the case.

@j-f1
Copy link

j-f1 commented May 12, 2017

@ArtOfCode- Can’t you cache the backoff expiry, then wait until the specified time if the key is present?

@ArtOfCode-
Copy link
Member Author

Yes, but we only need to do that if the same key is used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants