diff options
Diffstat (limited to 'src/launcher/download.rs')
| -rw-r--r-- | src/launcher/download.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/launcher/download.rs b/src/launcher/download.rs index f5469d8..4eedba5 100644 --- a/src/launcher/download.rs +++ b/src/launcher/download.rs @@ -87,7 +87,7 @@ impl<'j, T: Download> PhaseDownloadError<'j, T> { impl<'j, T: Download + 'j, I: Iterator<Item = &'j mut T>> MultiDownloader<'j, T, I> { pub fn new(jobs: I) -> MultiDownloader<'j, T, I> { - Self::with_concurrent(jobs, 8) + Self::with_concurrent(jobs, 24) } pub fn with_concurrent(jobs: I, n: usize) -> MultiDownloader<'j, T, I> { @@ -282,7 +282,7 @@ pub async fn verify_files(files: impl Iterator<Item = &mut VerifiedDownload>) -> debug!("Verifying library {}", dl.get_path().display()); util::verify_file(dl.get_path(), dl.get_expect_size(), dl.get_expect_sha1()).await })) - .try_buffer_unordered(8) + .try_buffer_unordered(32) .try_fold((), |_, _| async {Ok(())}) .await } |
