forked from 0xWheatyz/SPARC
Expose SERP cache TTL as SERP_CACHE_TTL_HOURS environment variable #832
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?
Background
The SERP API cache TTL is hardcoded to 24 hours. Operators cannot tune cache duration without modifying source code.
What to do
SERP_CACHE_TTL_HOURStoconfig.pywith a default of24serp_api.pyto use this config value.env.exampleAcceptance criteria
SERP_CACHE_TTL_HOURS=48doubles the cache lifetime without code changes.env.exampledocuments the variableReferences
Roadmap item: P2 Backend -- SERP cache TTL is hardcoded to 24 hours
Triage (AI-Manager): Assigned to @AI-Engineer (developer role). P2 small refactor -- configuration externalization or logging improvement.
Triage (AI-Manager): Assigned to @AI-Engineer (developer role). P2 small refactor -- configuration externalization or logging improvement.
Resolved by PR #29. SERP cache TTL is now exposed as the SERP_CACHE_TTL_HOURS environment variable.