forked from kent/consciousness
Store::cached() returns a process-global Arc<tokio::sync::Mutex<Store>> that loads once and reloads only when log files change (is_stale() checks file sizes). All memory and journal tools use cached_store() instead of Store::load() per invocation. Fixes CPU saturation from HashMap hashing when multiple subconscious agents make concurrent tool calls. Co-Authored-By: Proof of Concept <poc@bcachefs.org> |
||
|---|---|---|
| .. | ||
| neuro | ||
| query | ||
| store | ||
| counters.rs | ||
| cursor.rs | ||
| graph.rs | ||
| lookups.rs | ||
| memory.rs | ||
| mod.rs | ||
| similarity.rs | ||
| spectral.rs | ||
| transcript.rs | ||