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

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

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

Visibility: public

Requested revision: 3fda539c4666d64cc65744a8b8f0bf2de57df260

Requested commit: 3fda539c4666d64cc65744a8b8f0bf2de57df260

Commit: 3fda539c4666d64cc65744a8b8f0bf2de57df260

Tree: c3509149b097ba07683cbe2717fc49643cc6d073

Author: Joseph T\. Lyons

Committer: GitHub

## Message

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

This PR brings back https://github.com/zed-industries/zed/pull/30969 and
adds some initial testing.

https://github.com/zed-industries/zed/pull/30969 did indeed allow Zed to
continue doing downloads after downloading one, but it introduced a bug
where Zed would download a new binary every time it polled, even if the
version was the same as the running instance.

This code could use a refactor to allow more / better testing, but this
is a start.

Release Notes:

- N/A
```

## Parents

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

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