Skip to content

Commit

Permalink
(chocolatey-community#58) Speed up Get-RemoteChecksum
Browse files Browse the repository at this point in the history
The current Get_RemoteChecksum implementation uses Invoke-WebRequest
which can be slow on larger files. This results in a long checksumming
process during automated packaging. By switching to the .NET webclient,
while losing the "interactive" download update, we significantly increase
the speed of the download. For example, on a 150 mb file, it went from minutes
to download to seconds.

Added modified date in this commit
  • Loading branch information
chrrobi committed May 22, 2024
1 parent 808c07c commit cfe6bde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Public/Get-RemoteChecksum.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Author: Miodrag Milic <[email protected]>
# Last Change: 26-Nov-2016.
# Last Change: 22-May-2024.

<#
.SYNOPSIS
Expand Down

0 comments on commit cfe6bde

Please sign in to comment.