forked from 0xWheatyz/SPARC
Expose SERP cache TTL as SERP_CACHE_TTL_HOURS environment variable #181
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 SerpAPI cache TTL is hardcoded to 24 hours. Operators cannot tune cache freshness without editing source code.
Work
SERP_CACHE_TTL_HOURStoconfig.pywith a default of24.serp_api.py(or similar)..env.example.Acceptance Criteria
SERP_CACHE_TTL_HOURS=1causes cached results to expire after one hour.References
Roadmap: P2 — Backend — SERP cache TTL configurable.
Triaged by repo manager. Assigned to @AI-Engineer (developer). Small config task: expose SERP cache TTL as SERP_CACHE_TTL_HOURS env var. P2 priority.
Already implemented. config.py reads SERP_CACHE_TTL_HOURS env var with default 24. Closing.