Skip to content

feat: added caching for the BYO Catalog#949

Open
ElderMatt wants to merge 8 commits intomainfrom
APL-1662
Open

feat: added caching for the BYO Catalog#949
ElderMatt wants to merge 8 commits intomainfrom
APL-1662

Conversation

@ElderMatt
Copy link
Contributor

This PR adds caching for the BYO catalog.

  • On startup of the api, all the catalog charts get retrieved
  • Every 10 minutes, all the catalog charts get retrieved
  • On Catalog create, all the charts for that specific catalog are retrieved
  • On Catalog update, all the charts for that specific catalog are retrieved
  • On Catalog delete, all the charts for that specific catalog are deleted

New API endpoints:

  • RefreshCatalogCache: can be used to manually trigger the refresh of the catalog cache

@ElderMatt ElderMatt marked this pull request as ready for review March 10, 2026 14:10
export const AUTHZ_MOCK_TEAM = str({ desc: 'Comma separated list of teams a user belongs to', default: undefined })
export const CATALOG_CACHE_REFRESH_INTERVAL_MS = num({
desc: 'Interval in milliseconds for refreshing the BYO catalog cache',
default: 60000, // 1 minute
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Set to 1 minute for testing purposes, will set back to 10 when approved

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