# Fix background scanner deadlock \(\#44109\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/c978db8626584c96947405226b23483e50727bb0)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: c978db8626584c96947405226b23483e50727bb0

Requested commit: c978db8626584c96947405226b23483e50727bb0

Commit: c978db8626584c96947405226b23483e50727bb0

Tree: 03092d252429e7505b05a29becb5587dcc73ebce

Author: Agus Zubiaga

Committer: GitHub

## Message

```
Fix background scanner deadlock (#44109)

Fixes a deadlock in the background scanner that occurs on single-core
Linux devices. This happens because the background scanner would `block`
on a background thread waiting for a future, but on single-core Linux
devices there would be no other thread to pick it up. This mostly
affects SSH remoting use cases where it's common for servers to have 1
vCPU.

Closes #43884 
Closes #43809

Release Notes:

- Fix SSH remoting hang when connecting to 1 vCPU servers
```

## Parents

- [2dad46c5c08dbe676c80a39cf9cf0ddac9562b64](https://git.cafe/gitcafe/zed/commit/2dad46c5c08dbe676c80a39cf9cf0ddac9562b64?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/c978db8626584c96947405226b23483e50727bb0?format=markdown)
