Skip to content

Commit

Permalink
Use 1 MiB of stream buffer size on 7-zip
Browse files Browse the repository at this point in the history
  • Loading branch information
neon-nyan committed Jan 14, 2025
1 parent e4b5e87 commit 508fcfd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,7 @@ private async Task ExtractUsing7zip(GameInstallPackage asset)

// Start extraction
archiveFile.ExtractProgress += ZipProgressAdapter;
await archiveFile.ExtractAsync(e => Path.Combine(_gamePath, e!.FileName!), true, _token!.Token);
await archiveFile.ExtractAsync(e => Path.Combine(_gamePath, e!.FileName!), true, _bufferMediumLength, _token!.Token);
}
finally
{
Expand Down

0 comments on commit 508fcfd

Please sign in to comment.