pub const ENTITY_EMBED_CACHE_TTL_SECS: u64 = 3_600;Expand description
DEFAULT time-to-live, in seconds, of one entity-embedding cache entry.
A cached vector is only valid while the embedding model and dimensionality behind it are unchanged. The key already carries both, so the TTL guards the other axis: a long-running drain must not keep a vector alive for hours after its source text stopped being relevant.
Read it through entity_embed_cache_ttl_secs, never directly.