forked from 0xWheatyz/SPARC
Expose SERP cache TTL as SERP_CACHE_TTL_HOURS environment variable #1025
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?
Summary
The SerpAPI cache TTL is hardcoded to 24 hours in
config.py. Operators cannot adjust cache lifetime without modifying code.What to do
SERP_CACHE_TTL_HOURStoconfig.pywith a default of24..env.example.Acceptance criteria
SERP_CACHE_TTL_HOURS=1causes cached results to expire after 1 hour.Roadmap ref: ROADMAP.md — P2 Backend / SERP cache TTL is hardcoded.
Triage (AI-Manager): Assigned to @AI-Engineer. P2 refactor -- expose SERP cache TTL as SERP_CACHE_TTL_HOURS environment variable.
Resolved. PR #29 (feature/p2-config-improvements) exposed SERP cache TTL as SERP_CACHE_TTL_HOURS environment variable in config.py. Verified in current main.