Skip to content

Implement Quota cache#5557

Merged
jessegeens merged 2 commits intomasterfrom
feat/cache-quota
Mar 29, 2026
Merged

Implement Quota cache#5557
jessegeens merged 2 commits intomasterfrom
feat/cache-quota

Conversation

@jessegeens
Copy link
Copy Markdown
Contributor

Since EOS at the moment takes a long time to respond to GetQuota requests, we have implemented a cache for the quota results. The cache is warmed up on init, where the cache is populated from a single GetQuota call that obtains all user quotas.

@update-docs
Copy link
Copy Markdown

update-docs Bot commented Mar 27, 2026

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@jessegeens jessegeens marked this pull request as ready for review March 27, 2026 13:37
Copy link
Copy Markdown
Member

@glpatcern glpatcern left a comment

Choose a reason for hiding this comment

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

Just a minimal change, the rest is pretty good (and better than the original commit ;) )

Comment thread pkg/storage/fs/eos/config.go
@jessegeens jessegeens merged commit 1b83f58 into master Mar 29, 2026
16 checks passed
@jessegeens jessegeens deleted the feat/cache-quota branch April 7, 2026 08:39
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