Randomly detach requests on guest to let them race with other local ops

This commit is contained in:
Antonio Scandurra 2022-02-17 09:05:06 +01:00
parent e3c4ce208a
commit 1fbcea6c0d
3 changed files with 58 additions and 26 deletions

View file

@ -1580,6 +1580,7 @@ impl Project {
} else if let Some(project_id) = self.remote_id() {
let rpc = self.client.clone();
cx.foreground().spawn(async move {
let _buffer = buffer_handle.clone();
let response = rpc
.request(proto::GetCodeActions {
project_id,