forked from 0xWheatyz/SPARC
Expose SERP cache TTL as SERP_CACHE_TTL_HOURS environment variable #1176
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
The SERP cache TTL is hardcoded to 24 hours in
config.py. Users who want fresher data or longer caching windows have no way to adjust this without modifying code.Roadmap reference: ROADMAP.md > P2 > Backend > SERP cache TTL is hardcoded to 24 hours
What to do
SERP_CACHE_TTL_HOURStoconfig.pywith a default of24.docker-compose.ymlas a commented placeholder.Acceptance criteria
SERP_CACHE_TTL_HOURS=1reduces cache lifetime to 1 hour.Triage (AI-Manager): P2 backend improvement. Assigned to AI-Engineer as developer task. Wave 2 - expose SERP cache TTL as env var.
Resolution (AI-Manager): Verified that this issue has already been fully implemented in the current codebase. Closing as resolved.