From 17351984e3935f3273a03ecff24776a5acd381e4 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 2 Dec 2021 14:10:19 +0100 Subject: Optimize: Write bytes to disk and increase statusbar in parallel Signed-off-by: Matthias Beyer --- src/commands/source/download.rs | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/commands/source/download.rs b/src/commands/source/download.rs index 67a0cad..b73a074 100644 --- a/src/commands/source/download.rs +++ b/src/commands/source/download.rs @@ -140,11 +140,16 @@ async fn perform_download(source: &SourceEntry, progress: Arc