Skip to content

Commit 52856fb

Browse files
committed
fix(downloads): cURL timeouts
1 parent 40b380b commit 52856fb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/playbook/Executables/LIBREWOLF.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.\AtlasModules\initPowerShell.ps1
22
$ProgressPreference = "SilentlyContinue"
33
$ErrorActionPreference = "Stop"
4-
$timeouts = @("--connect-timeout", "5", "--max-time", "10", "--retry", "5", "--retry-delay", "0", "--retry-max-time", "40", "--retry-all-errors")
4+
$timeouts = @("--connect-timeout", "10", "--retry", "5", "--retry-delay", "0", "--retry-all-errors")
55

66
# Initial variables
77
$drive = Get-SystemDrive

src/playbook/Executables/SOFTWARE.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ param (
1010
# Software is no longer installed with a package manager anymore to be as fast and as reliable as possible. #
1111
# ----------------------------------------------------------------------------------------------------------- #
1212

13-
$timeouts = @("--connect-timeout", "5", "--max-time", "10", "--retry", "5", "--retry-delay", "0", "--retry-max-time", "40", "--retry-all-errors")
13+
$timeouts = @("--connect-timeout", "10", "--retry", "5", "--retry-delay", "0", "--retry-all-errors")
1414
$msiArgs = "/qn /quiet /norestart ALLUSERS=1 REBOOT=ReallySuppress"
1515
$arm = ((Get-CimInstance -Class Win32_ComputerSystem).SystemType -match 'ARM64') -or ($env:PROCESSOR_ARCHITECTURE -eq 'ARM64')
1616

0 commit comments

Comments
 (0)