removed sleep from directory scanning as fixes upstream appear to be scanning correctly

This commit is contained in:
KCaverly 2023-06-30 10:17:31 -04:00
parent 1d737e490b
commit e3ab54942e

View File

@ -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();
}