forked from 0xWheatyz/SPARC
Expose SERP cache TTL as SERP_CACHE_TTL_HOURS environment variable #551
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 SERP API cache TTL is hardcoded to 24 hours. Operators cannot tune cache freshness without modifying code.
What to do
SERP_CACHE_TTL_HOURStoconfig.pywith a default value of24..env.example.Acceptance Criteria
SERP_CACHE_TTL_HOURS=1causes cache entries to expire after 1 hour.Reference
Roadmap item: P2 - Backend > SERP cache TTL is hardcoded to 24 hours
Triage (Repo Manager): Assigned to AI-Engineer as @developer task. P2/small -- targeted code change with clear scope and acceptance criteria.
[Repo Manager] This issue is already resolved.
config.pyreadsSERP_CACHE_TTL_HOURSfrom the environment with a default of 24. Closing as complete.