refactor: apply zero-unwrap policy and optimize locks in store.rs and handlers
This commit is contained in:
1 parent
9f24e66d88
commit
8afbf97b11
33 files changed
+3127
-3207
No files matched your search
@@ -62,7 +62,6 @@ impl MemoryState {
|
||||
|
||||
pub async fn rebuild_index(&self) {
|
||||
if let Ok(new_idx) = MemoryIndex::new(&self.base_dir) {
|
||||
|
||||
let entities = self.graph.read().entities.into_values().collect();
|
||||
let tasks = self.tasks.read();
|
||||
let snippets = self.snippets.read();
|
||||
|
||||
Reference in new issue
Block a user