mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-30 22:34:13 +00:00
removed sleep from directory scanning as fixes upstream appear to be scanning correctly
This commit is contained in:
parent
1d737e490b
commit
e3ab54942e
1 changed files with 0 additions and 5 deletions
|
@ -214,11 +214,6 @@ impl VectorStore {
|
||||||
cx.spawn(|this, mut cx| async move {
|
cx.spawn(|this, mut cx| async move {
|
||||||
futures::future::join_all(worktree_scans_complete).await;
|
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() {
|
if let Some(db_directory) = database_url.parent() {
|
||||||
fs.create_dir(db_directory).await.log_err();
|
fs.create_dir(db_directory).await.log_err();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue