Avoid stalling server when test notifications aren't being processed

This commit is contained in:
Antonio Scandurra 2022-02-17 10:38:56 +01:00
parent 1fbcea6c0d
commit e824a6f220
2 changed files with 20 additions and 11 deletions

View file

@ -869,6 +869,10 @@ impl RemoteWorktree {
Ok(())
}
pub fn has_pending_updates(&self) -> bool {
!self.pending_updates.is_empty()
}
pub fn update_diagnostic_summary(
&mut self,
path: Arc<Path>,