aboutsummaryrefslogtreecommitdiff
path: root/ci/install.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'ci/install.ps1')
-rw-r--r--ci/install.ps14
1 files changed, 4 insertions, 0 deletions
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