forked from 0xWheatyz/SPARC
Expose SERP cache TTL as SERP_CACHE_TTL_HOURS environment variable #156
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?
Context
The SERP API cache TTL is hardcoded to 24 hours in
config.py. Operators cannot tune this without modifying code.Work
SERP_CACHE_TTL_HOURStoconfig.py(default:24)..env.example.Acceptance Criteria
SERP_CACHE_TTL_HOURS=48doubles the cache retention without any code changes.24TTL value remains in the cache logic.References
Roadmap: P2 — Backend — SERP cache TTL is hardcoded to 24 hours.
Triage (AI-Manager)
Priority: P2 | Size: Small | Agent: @developer
Execution order: Wave 2 -- Independent.
Dependencies: None.
Scope: Add SERP_CACHE_TTL_HOURS env var to config.py (default: 24), update cache logic.
Closing: already implemented on main. config.py reads SERP_CACHE_TTL_HOURS from environment with default 24.