Skip to content

fix: cache homepage helpers in Redis to reduce Solr load#89

Merged
ChasNelson1990 merged 1 commit intomasterfrom
fix/cache-homepage-helpers
Apr 6, 2026
Merged

fix: cache homepage helpers in Redis to reduce Solr load#89
ChasNelson1990 merged 1 commit intomasterfrom
fix/cache-homepage-helpers

Conversation

@ChasNelson1990
Copy link
Copy Markdown
Member

Summary

These helpers were firing live Solr queries on every page render including the uWSGI liveness probe (GET /), causing worker saturation and spurious pod restarts in production.

Test plan

🤖 Generated with Claude Code

…uest

ckanext-dms: cache get_featured_datasets and get_site_statistics with
a 60s Redis TTL. These were firing Solr queries on every page render
including health check probes, causing uWSGI worker saturation and
spurious pod restarts in production.
@ChasNelson1990 ChasNelson1990 merged commit 4bcea4d into master Apr 6, 2026
@ChasNelson1990 ChasNelson1990 deleted the fix/cache-homepage-helpers branch April 6, 2026 20:26
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