mirror of
https://github.com/perstarkse/minne.git
synced 2026-06-30 18:11:34 +02:00
fix: arc-share retrieved chunks, centralize entity embeddings, and trim hot-path clones.
This commit is contained in:
@@ -142,7 +142,9 @@ impl HtmlState {
|
||||
return;
|
||||
}
|
||||
|
||||
let overflow = cache.len().saturating_sub(CONVERSATION_ARCHIVE_CACHE_MAX_USERS);
|
||||
let overflow = cache
|
||||
.len()
|
||||
.saturating_sub(CONVERSATION_ARCHIVE_CACHE_MAX_USERS);
|
||||
let mut by_expiry: Vec<(String, Instant)> = cache
|
||||
.iter()
|
||||
.map(|(user_id, entry)| (user_id.clone(), entry.expires_at))
|
||||
|
||||
Reference in New Issue
Block a user