Skip to content

Conversation

@g-linville
Copy link
Member

We used to check the GH repo information for the credential helpers repo every time a cred store operation (get, list, etc.) was called. This is way too many lookups and hits the rate limit. This PR adds a file to hold a timestamp for the last time the repo was checked, and only check again if at least 24 hours have passed.

Signed-off-by: Grant Linville <grant@acorn.io>
g-linville and others added 2 commits June 27, 2024 10:40
Co-authored-by: Nick Hale <4175918+njhale@users.noreply.github.com>
Signed-off-by: Grant Linville <grant@acorn.io>
Signed-off-by: Grant Linville <grant@acorn.io>
@g-linville g-linville merged commit 51fd2b3 into gptscript-ai:main Jun 27, 2024
@g-linville g-linville deleted the fix-cred-helper-gh-check branch June 27, 2024 14:54
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.

3 participants