mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-14 22:52:15 +02:00
refactor(embedding-cache): rename index cache to embedding cache
The cached payload is the indexing pipeline's embeddings (markdown is chunked then embedded), so "embedding cache" names the expensive output directly and removes the "index" ambiguity (DB index vs vector index vs indexing phase). Renames the service, settings, eligibility, eviction task, metrics, config flags (INDEX_CACHE_* -> EMBEDDING_CACHE_*), object prefix, and the table (index_cache_embedding_sets -> embedding_cache_sets) with its constraint and indexes. Migration 161 renamed accordingly.
This commit is contained in:
parent
8cf578d965
commit
91d947ff79
18 changed files with 93 additions and 89 deletions
|
|
@ -314,9 +314,9 @@ celery_app.conf.beat_schedule = {
|
|||
"schedule": crontab(hour="4", minute="0"),
|
||||
"options": {"expires": 600},
|
||||
},
|
||||
# Prune the index cache (chunk+embedding sets) once daily, off-peak.
|
||||
"evict-index-cache": {
|
||||
"task": "evict_index_cache",
|
||||
# Prune the embedding cache (chunk+embedding sets) once daily, off-peak.
|
||||
"evict-embedding-cache": {
|
||||
"task": "evict_embedding_cache",
|
||||
"schedule": crontab(hour="4", minute="30"),
|
||||
"options": {"expires": 600},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue