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

add conditional request support to polling #28

Merged
merged 1 commit into from
Sep 29, 2017

Conversation

waf
Copy link
Member

@waf waf commented Sep 28, 2017

As described in https://developer.github.com/v3/#conditional-requests

By using etags, we allow github to return '304 not modified' responses, which don't count against our rate limit. This should help fix the ratelimit issue we discovered tonight.

as described in https://developer.github.com/v3/#conditional-requests

by using etags, we allow github to return '304 not modified' responses,
which don't count against our rate limit. This should help fix the rate
limit issue we discovered tonight.
@waf
Copy link
Member Author

waf commented Sep 28, 2017

@pangaunn this PR should help with the rate limit issue we found. Maybe we won't need a server-side fix with this.

@waf waf mentioned this pull request Sep 29, 2017
8 tasks
@waf waf merged commit f8845e7 into bkkhack:master Sep 29, 2017
@waf waf deleted the use-conditional-requests branch September 29, 2017 12:21
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

Successfully merging this pull request may close these issues.

1 participant