Private/Constants.ps1
$Constants = @{ Defaults = @{ RequestTimeOut = New-TimeSpan -Seconds 60; ConsecutiveErrorThreshold = 10; }; TimeSpanFormat = "hh\:mm\:ss\.fff"; FilteredErrorMessages = @( # Azure WebApp Stopped or Starting "Site Disabled"; "Site Unavailable from Mini-ARR"; # Dll Faillure "HTTP Error 502.5 - Process Failure"; # TimeOut in Invoke-WebRequest "The operation has timed out"; ) }; |