config: add cache.ttl_overrides example
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 16s
Mirror to GitHub / mirror (push) Failing after 17s
Tests / test (push) Failing after 14s

This commit is contained in:
ashisgreat22 2026-03-24 01:15:14 +01:00
parent 26f8e4855b
commit 6f3e11277a

View file

@ -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)