mirror of
https://github.com/NixOS/nix
synced 2025-06-25 19:01:16 +02:00
Improve progress indicator
This commit is contained in:
parent
e80257f122
commit
b01d62285c
26 changed files with 339 additions and 168 deletions
|
@ -50,7 +50,6 @@ protected:
|
|||
{
|
||||
try {
|
||||
DownloadRequest request(cacheUri + "/" + path);
|
||||
request.showProgress = DownloadRequest::no;
|
||||
request.head = true;
|
||||
request.tries = 5;
|
||||
getDownloader()->download(request);
|
||||
|
@ -76,7 +75,6 @@ protected:
|
|||
std::function<void(std::exception_ptr exc)> failure) override
|
||||
{
|
||||
DownloadRequest request(cacheUri + "/" + path);
|
||||
request.showProgress = DownloadRequest::no;
|
||||
request.tries = 8;
|
||||
|
||||
getDownloader()->enqueueDownload(request,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue