-
Notifications
You must be signed in to change notification settings - Fork 262
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
Added optional rate limit handling. #155
Conversation
Sorry for the inconvenience @andy-trimble, but we need this CLA signed also. Unfortunately, the CLA does not propagate across all repos. Also, could you please take care of the conflict? Thanks! |
I thought I'll chime in here since I had volunteered to fix issue #100. These are the issues that I'd think you need to fix i. You are using a constant retry time. I believe the expected way is to use you read the Rate limit Reset header to get the sleep time. |
@tariq1890 Thanks for the comment.
|
3.As an outsider who would use the API, I don't find the fact that API would mean synchronous and Request() would mean async obvious. I believe a flag would be better for the sake of readability here. Third-pary users would find that more intuitive no? |
|
|
|
Currently, @suchitparikh is working on refactoring this repo, per this issue. I encourage you to collaborate with him there. With regards to the conversation in this thread:
|
Hello @andy-trimble, |
This addresses issue #100.