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

Rate limit checking for wakatime-cli updates, to avoid GitHub API quota #172

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

alanhamlett
Copy link
Member

When not authenticated, the etag conditional header If-Modified-Since still counts against the IP's rate limit so it does nothing. With this PR, we're only checking for updates to wakatime-cli once every 4 hours so we don't exhaust our GitHub API rate limit.

@alanhamlett alanhamlett merged commit 92c6fc9 into main Nov 2, 2023
6 checks passed
@alanhamlett alanhamlett deleted the feature/github-api-rate-limit branch November 2, 2023 09:50
@alanhamlett alanhamlett mentioned this pull request Nov 2, 2023
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