From 1b7270b40b65ef089bf40a14065227f742b8507e Mon Sep 17 00:00:00 2001 From: vnugent Date: Tue, 14 May 2024 21:52:03 -0400 Subject: chore: make container slightly easier to setup --- ci/install.ps1 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ci/install.ps1') diff --git a/ci/install.ps1 b/ci/install.ps1 index 7a5c455..b15dfc2 100644 --- a/ci/install.ps1 +++ b/ci/install.ps1 @@ -1,5 +1,9 @@ param([String] $BaseUrl, [String] $ModuleName, [String] $ProjectName, [String]$FileName, [String]$Version) +#random delays to space out the downloads +$randomDelay = Get-Random -Minimum 300 -Maximum 1000 +Start-Sleep -Milliseconds $randomDelay + $_src = "$BaseUrl/$ModuleName/$Version/$ProjectName/$FileName" #download the latest version -- cgit