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

Fetch updates incrementally, but as often as allowed #15

Closed
LosD opened this issue Nov 16, 2014 · 0 comments · Fixed by #16
Closed

Fetch updates incrementally, but as often as allowed #15

LosD opened this issue Nov 16, 2014 · 0 comments · Fixed by #16

Comments

@LosD
Copy link
Contributor

LosD commented Nov 16, 2014

Currently all data is re-fetched every time, and therefore updates needs to be quite seldom, both to avoid triggering rate limit and to keep the ES index small (deleted documents will linger until index is optimized).

To avoid this, the GitHub ETag header and "since" parameter can be used. To respect the GitHub API, the X-Poll-Interval response header should be heeded.

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

Successfully merging a pull request may close this issue.

2 participants