forked from 0xWheatyz/SPARC
Feature: Expose SERP cache TTL as SERP_CACHE_TTL_HOURS environment variable #718
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 in
config.py. Operators cannot tune cache freshness without modifying source code.What to do
SERP_CACHE_TTL_HOURStoconfig.py(default24).serp_api.py(or wherever TTL is applied) to read from config..env.example.Acceptance Criteria
SERP_CACHE_TTL_HOURS=1causes cached results to expire after 1 hour.Reference
Roadmap: P2 Backend — SERP cache TTL is hardcoded to 24 hours.
[Repo Manager] Already resolved. SERP_CACHE_TTL_HOURS env var in config.py, used in analyzer.py SERP cache logic.
Closing as already implemented in the codebase.