Skip to content

Conversation

@dannon
Copy link
Member

@dannon dannon commented Dec 18, 2025

Summary

  • Flushes all Redis cache on API service startup to avoid stale/inconsistent responses after catalog updates
  • Adds proper lifespan handler to close Redis connection on shutdown

Partial mitigation for #1047.

Test plan

  • Verified cache flush works on restart (set test key, restart, key is cleared)
  • Verified API health and cache health endpoints still work
  • Confirmed no external API endpoint exposes the flush functionality

Clears all cached data when the API restarts to avoid stale/inconsistent
responses after catalog updates. Partial mitigation for galaxyproject#1047.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant