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

ticketvote: Move summaries cache to db. #1657

Merged
merged 3 commits into from
Jul 5, 2022

Conversation

lukebp
Copy link
Member

@lukebp lukebp commented Jul 5, 2022

This commit moves the vote summaries cache from the file system to the
tstore provided plugin cache that is backed by the tstore databse.

The initial plugin implementations were part of an extremely large
commit that added the tstore backend. The caches were saved to the file
system as a quick and dirty way to get things into production, with the
intention of revisting them at a later date. API was later added that
allowed the plugins to cache data in the tstore database.

This commit moves the vote summaries cache from the file system to the
tstore provided plugin cache that is backed by the tstore databse.

The initial plugin implementations were part of an extremely large
commit that added the tstore backend. The caches were saved to the file
system as a quick and dirty way to get things into production, with the
intention of revisting them at a later date. API was later added that
allowed the plugins to cache data in the tstore database.
@lukebp lukebp merged commit e5381ad into decred:master Jul 5, 2022
@lukebp lukebp deleted the ticketvote-summaries-cache branch July 6, 2022 14:47
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