config: add cache.ttl_overrides example
This commit is contained in:
parent
26f8e4855b
commit
6f3e11277a
1 changed files with 6 additions and 0 deletions
|
|
@ -57,6 +57,12 @@ db = 0
|
||||||
# Cache TTL for search results (env: VALKEY_CACHE_TTL)
|
# Cache TTL for search results (env: VALKEY_CACHE_TTL)
|
||||||
default_ttl = "5m"
|
default_ttl = "5m"
|
||||||
|
|
||||||
|
[cache.ttl_overrides]
|
||||||
|
# Per-engine TTL overrides (uncomment to use):
|
||||||
|
# wikipedia = "48h"
|
||||||
|
# reddit = "15m"
|
||||||
|
# braveapi = "2h"
|
||||||
|
|
||||||
[cors]
|
[cors]
|
||||||
# CORS configuration for browser-based clients.
|
# CORS configuration for browser-based clients.
|
||||||
# Allowed origins: use "*" for all, or specific domains (env: CORS_ALLOWED_ORIGINS)
|
# Allowed origins: use "*" for all, or specific domains (env: CORS_ALLOWED_ORIGINS)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue