forked from 0xWheatyz/SPARC
Expose SERP cache TTL as SERP_CACHE_TTL_HOURS environment variable #764
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 result cache TTL is hardcoded to 24 hours. This should be configurable without code changes.
Work to Do
SERP_CACHE_TTL_HOURStoconfig.py(default24)SERP_CACHE_TTL_HOURSto.env.exampleAcceptance Criteria
SERP_CACHE_TTL_HOURS=1causes cached results to expire after 1 hour.env.exampledocuments the variableReference
Roadmap: P2 Backend -- SERP cache TTL is hardcoded to 24 hours
Triage (AI-Manager): Assigned to @AI-Engineer. P2 small config change -- expose SERP cache TTL as env var.
Already Resolved
This issue is already implemented on
main:config.pyreadsSERP_CACHE_TTL_HOURSenv var with default 24 (line 46)analyzer.pypassesconfig.serp_cache_ttl_hoursto database cache lookup (line 73).env.exampledocuments the variableAll acceptance criteria are met. Closing as complete.