summaryrefslogtreecommitdiffstats
path: root/src/launcher/assets.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/launcher/assets.rs')
-rw-r--r--src/launcher/assets.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/launcher/assets.rs b/src/launcher/assets.rs
index 271f79e..cd75d0d 100644
--- a/src/launcher/assets.rs
+++ b/src/launcher/assets.rs
@@ -229,7 +229,7 @@ impl AssetRepository {
if self.online {
info!("Downloading {} asset objects...", downloads.len());
let client = Client::new();
- MultiDownloader::with_concurrent(downloads.iter_mut(), 16).perform(&client).await
+ MultiDownloader::with_concurrent(downloads.iter_mut(), 32).perform(&client).await
.inspect_err(|e| warn!("asset download failed: {e}"))
.try_fold((), |_, _| async {Ok(())})
.await
@@ -288,7 +288,7 @@ impl AssetRepository {
}
}
})
- .try_for_each_concurrent(16, |(object, obj_path)| async move {
+ .try_for_each_concurrent(32, |(object, obj_path)| async move {
if let Some(parent) = obj_path.parent() {
fs::create_dir_all(parent).await
.inspect_err(|e| debug!("Error creating directory for asset object {}: {e}", object.name))