Optimize number of range requests in updater

This commit is contained in:
Fedor Indutny 2022-03-01 14:44:29 -08:00 committed by GitHub
parent 1a751c07fc
commit 19441cd3f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 409 additions and 93 deletions

View file

@ -487,7 +487,8 @@ export abstract class Updater {
await downloadDifferentialData(
targetUpdatePath,
differentialData,
updateOnProgress ? this.throttledSendDownloadingUpdate : undefined
updateOnProgress ? this.throttledSendDownloadingUpdate : undefined,
this.logger
);
gotUpdate = true;