Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
removed sleep from directory scanning as fixes upstream appear to be scanning correctly
KCaverlye3ab54942ee4
diff --git a/crates/vector_store/src/vector_store.rs b/crates/vector_store/src/vector_store.rsindex 47d69326855..9e589e010f0 100644--- a/crates/vector_store/src/vector_store.rs+++ b/crates/vector_store/src/vector_store.rs@@ -214,11 +214,6 @@ impl VectorStore {cx.spawn(|this, mut cx| async move {futures::future::join_all(worktree_scans_complete).await;- // TODO: remove this after fixing the bug in scan_complete- cx.background()- .timer(std::time::Duration::from_secs(3))- .await;-if let Some(db_directory) = database_url.parent() {fs.create_dir(db_directory).await.log_err();}