better download defaults

This commit is contained in:
DecDuck
2024-10-24 22:17:50 +11:00
parent 5ed0833e61
commit 4779383fc9
2 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,8 @@ pub fn download_game_chunk(ctx: DropDownloadContext) {
.expect("Failed to seek to file offset");
}
let mut stream = BufWriter::with_capacity(1024, file_lock.try_clone().unwrap());
let mut stream = BufWriter::with_capacity(1024 * 1024, file_lock.try_clone().unwrap());
drop(file_lock);
response.copy_to(&mut stream).unwrap();
}