From 6f3e11277a2c74633aef4add0b592aa8531b0803 Mon Sep 17 00:00:00 2001 From: ashisgreat22 Date: Tue, 24 Mar 2026 01:15:14 +0100 Subject: [PATCH] config: add cache.ttl_overrides example --- config.example.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config.example.toml b/config.example.toml index 6954440..7fed53e 100644 --- a/config.example.toml +++ b/config.example.toml @@ -57,6 +57,12 @@ db = 0 # Cache TTL for search results (env: VALKEY_CACHE_TTL) default_ttl = "5m" +[cache.ttl_overrides] +# Per-engine TTL overrides (uncomment to use): +# wikipedia = "48h" +# reddit = "15m" +# braveapi = "2h" + [cors] # CORS configuration for browser-based clients. # Allowed origins: use "*" for all, or specific domains (env: CORS_ALLOWED_ORIGINS)