feat(index-cache): add settings, eligibility, and config flags

This commit is contained in:
CREDO23 2026-06-12 16:48:10 +02:00
parent ad6da7c6af
commit daccd304ee
4 changed files with 76 additions and 0 deletions

View file

@ -328,6 +328,20 @@ ETL_CACHE_ENABLED=false
# ETL_CACHE_STORAGE_CONTAINER=surfsense-etl-cache
# ETL_CACHE_STORAGE_LOCAL_PATH=/var/lib/surfsense/etl-cache
# Index Cache
# Reuse chunk+embedding output for identical markdown across workspaces (skips
# re-chunking and re-embedding). Blobs share the ETL_CACHE_STORAGE_* backend.
# Off by default.
INDEX_CACHE_ENABLED=false
# Bump to invalidate all cached embedding sets after a chunker change.
# INDEX_CACHE_CHUNKER_VERSION=1
# Prune entries unused for this many days.
# INDEX_CACHE_TTL_DAYS=90
# Soft cap on total cached embeddings; coldest entries are evicted past it.
# INDEX_CACHE_MAX_TOTAL_MB=5120
# Rows deleted per eviction pass.
# INDEX_CACHE_EVICTION_BATCH=500
# Daytona Sandbox (isolated code execution)
# DAYTONA_SANDBOX_ENABLED=FALSE
# DAYTONA_API_KEY=your-daytona-api-key