mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Increase time between retries of testing URL (#11015)
This commit is contained in:
1 parent
fff137e69f
commit
c679536bb8
1 file changed
+2
-2
@@ -106,10 +106,10 @@ Describe "Verify Markdown Links" {
|
||||
Write-Verbose "prefix: '$prefix'" -Verbose
|
||||
if($url -match '^http(s)?:')
|
||||
{
|
||||
# If invoke-WebRequest can handle the URL, re-verify, with 5 retries
|
||||
# If invoke-WebRequest can handle the URL, re-verify, with 6 retries
|
||||
try
|
||||
{
|
||||
$null = Invoke-WebRequest -uri $url -RetryIntervalSec 3 -MaximumRetryCount 6
|
||||
$null = Invoke-WebRequest -uri $url -RetryIntervalSec 10 -MaximumRetryCount 6
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user