mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-04 14:38:16 +03:00
removed sleep from directory scanning as fixes upstream appear to be scanning correctly
This commit is contained in:
parent
1d737e490b
commit
e3ab54942e
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user