# Allow updater to check for updates after downloading one \(\#30969\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 5c4f9e57d8f919f58e39d660515e1dbec7d71483

Requested commit: 5c4f9e57d8f919f58e39d660515e1dbec7d71483

Commit: 5c4f9e57d8f919f58e39d660515e1dbec7d71483

Tree: f135febfe448e0aabc6a338eb394dd9dea6eef93

Author: Joseph T\. Lyons

Committer: GitHub

## Message

```
Allow updater to check for updates after downloading one (#30969)

Closes https://github.com/zed-industries/zed/issues/8968

This PR addresses the following scenario:

1. User's Zed polls for an update, finds one, and installs it
2. User doesn't immediately restart Zed, a new update is released, and
the previous version of Zed would stop polling (ignoring the new update)
3. User eventually restarts Zed and is immediately prompted to install
another update

With this change, the auto-updater will continue polling for and
installing new versions even after an initial update is found, reducing
update prompts on restart.

---

This PR does not address the following scenario:

1. User's Zed polls for an update, finds one, and installs it
2. Another update is released before the next scheduled polling interval
3. User restarts Zed and is immediately prompted to install the newer
update

Release Notes:

- Improved the auto-updater to continue checking for updates even after
finding and installing an initial update. This reduces situations where
users are prompted to install another update immediately after
restarting from a previous update.

Co-authored-by: Ben Kunkle <Ben.kunkle@gmail.com>
```

## Parents

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

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