# Optimize file finder subscriptions \(\#8343\) · gitcafe/zed

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

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

Visibility: public

Requested revision: d0ffd51bb1a319a53b07a87759abe69bf0925f17

Requested commit: d0ffd51bb1a319a53b07a87759abe69bf0925f17

Commit: d0ffd51bb1a319a53b07a87759abe69bf0925f17

Tree: 1c6cc1b82cb853d060abc5f0e8fb7c89005e68ad

Author: Andrew Lygin

Committer: GitHub

## Message

```
Optimize file finder subscriptions (#8343)

Fixes #7519 

Optimizes file finder subscriptions &mdash; it now only subscribes to
worktrees updates instead of all project updates.

Project panel could also be optimized this way, I guess.

Release Notes:

- Fix selection resets in the file finder during language server
startup ([7519](https://github.com/zed-industries/zed/issues/7519))
```

## Parents

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

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