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

Allow running refresh_results_cache during normal operation, with each cache update happening atomically #1787

Merged
merged 2 commits into from
Aug 15, 2022

Conversation

richardebeling
Copy link
Member

Step 1 to solving #1739. When adding a cronjob that regularly runs ./manage.py refresh_results_cache, this should make invalid cache entries fix themselves the next time the cronjob runs.

(Note: The results page will still be broken during the period after merging courses but before the next cronjob run. We probably want to add manual triggers for such cases.)

evap/results/views.py Outdated Show resolved Hide resolved
Removes the intermediate method that we had before which was already
named update_template_cache.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants