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

Handle stale remote caches #142

Open
susannasiebert opened this issue May 3, 2023 · 0 comments
Open

Handle stale remote caches #142

susannasiebert opened this issue May 3, 2023 · 0 comments

Comments

@susannasiebert
Copy link
Collaborator

susannasiebert commented May 3, 2023

Currently, if the remote cache is stale (e.g. if there are issues with sidekiq in civic), users will encounter an infinite loop when calling civic.load_cache() (see #141). We should either fail, use the stale one, or automatically create an updated local cache. On failure we can instruct users to manually update their local cache using civicpy update --hard.

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

No branches or pull requests

1 participant