Emit a diff event when worktree's snapshot is updated
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
co-authored by
Nathan Sobo
parent
8ae5c0d7d6
commit
cabf6b1f58
+2
-2
@@ -2131,9 +2131,9 @@ impl<T: Entity> ModelHandle<T> {
|
||||
let cx = cx.weak_self.as_ref().unwrap().upgrade().unwrap();
|
||||
let handle = self.downgrade();
|
||||
let duration = if std::env::var("CI").is_ok() {
|
||||
Duration::from_secs(2)
|
||||
Duration::from_secs(5)
|
||||
} else {
|
||||
Duration::from_millis(500)
|
||||
Duration::from_secs(1)
|
||||
};
|
||||
|
||||
async move {
|
||||
|
||||
Reference in New Issue
Block a user