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

Cache all Gh API requests so requests are limited to 5 times a hour #535

Merged
merged 2 commits into from
Sep 8, 2023

Conversation

Rubber1Duck
Copy link
Collaborator

Gh API requests are limited to 35 requests a hour. If new data is availible this will causes in issues.
This patch will cache all api requests to redis and limit the api requests to 5 times a hour. all in one there are 7 api requests that must be done. So in worst case 35 requests are done witch will hold the limits!
@marlon360 please approve and merge, thanks

@marlon360 marlon360 merged commit e380439 into v2 Sep 8, 2023
@Rubber1Duck Rubber1Duck deleted the cacheApiRequests branch September 15, 2023 18:38
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.

2 participants