forked from 0xWheatyz/SPARC
Backend: expose SERP cache TTL as SERP_CACHE_TTL_HOURS environment variable #252
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 SerpAPI cache TTL is hardcoded to 24 hours. Different deployments may want longer or shorter cache lifetimes.
Task
SERP_CACHE_TTL_HOURStoconfig.pywith a default of24.env.exampleAcceptance Criteria
SERP_CACHE_TTL_HOURS=1causes cache entries to expire after 1 hour.env.exampledocuments the variableReference
Roadmap: P2 Backend — SERP cache TTL hardcoded
Triage: P2/small - Assigned to @developer. Wave 3 quick win.
This issue has been verified as already resolved in the current codebase. All acceptance criteria are met. Closing.