-
Notifications
You must be signed in to change notification settings - Fork 431
fix(updater): download reuse check timeout #2572
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(updater): download reuse check timeout #2572
Conversation
Package Changes Through 8841a78There are 10 changes which include autostart with minor, autostart-js with minor, http with patch, http-js with patch, deep-link with patch, deep-link-js with patch, fs with patch, fs-js with patch, updater with patch, updater-js with patch Planned Package VersionsThe following package releases are the planned based on the context of changes in this pull request.
Add another change file through the GitHub UI by following this link. Read about change files or the docs at github.com/jbolda/covector |
body: release.notes, | ||
raw_json: raw_json.unwrap(), | ||
timeout: self.timeout, | ||
timeout: None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the actual change 🙃
// TODO: Align this with the result of `updater.check` to Result<Option<Metadata>> | ||
// and remove `available` instead of handling this in the js side |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know if it's considered breaking if we change this from returning Result<Metadata>
to Result<Option<Metadata>>
, if not then I would like to do it before v3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can change it, if you want since we now require users to sync their rust and js versions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's nice, I'll do it later
* fix(updater): format `Update.date` to RFC 3339 * Messed up on argument in #2572 * Format * Update example * Avoid extra to_string * Deprecate `Update.available`
* fix(updater): download inherit timeout from check * Add change file
* fix(updater): format `Update.date` to RFC 3339 * Messed up on argument in tauri-apps#2572 * Format * Update example * Avoid extra to_string * Deprecate `Update.available`
Fix #2372
Fix
timeout
passed tocheck
gets re-used bydownload
anddownloadAndinstall
Also did some other cleanups