diff --git a/NextDNS API/Stream the logs - Customized Output for Microsoft.ps1 b/NextDNS API/Stream the logs - Customized Output for Microsoft.ps1 index c1479fa..1021e7b 100644 --- a/NextDNS API/Stream the logs - Customized Output for Microsoft.ps1 +++ b/NextDNS API/Stream the logs - Customized Output for Microsoft.ps1 @@ -250,7 +250,7 @@ catch { } # if it's not the first time error is thrown else { - if ($global:WaitSeconds -ge 15) { + if ($global:WaitSeconds -ge 20) { $global:WaitSeconds = 3 } else { @@ -259,7 +259,7 @@ catch { } Write-Warning -Message "Restarting the script in $global:WaitSeconds seconds..." - + Start-Sleep -Seconds $global:WaitSeconds # Restart using & operator - Runs the script again using its path