Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

add cache with time-to-live for unauthed GH API call #867

Merged
merged 2 commits into from
Jan 31, 2025

Conversation

kantord
Copy link
Member

@kantord kantord commented Jan 31, 2025

fixes stacklok/codegate-ui#237

see: https://discord.com/channels/1184987096302239844/1317203257051054120/1334839042516324382

works, tested by running

repeat 100 curl 'http://localhost:8989/api/v1/version'

@kantord kantord marked this pull request as ready for review January 31, 2025 12:39
@kantord kantord merged commit a428992 into main Jan 31, 2025
4 of 5 checks passed
@kantord kantord deleted the cache-version-endpoint branch January 31, 2025 14:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update check not working in 0.1.15
2 participants