From c9570efd162cff0bb2b9407594da927358c301f1 Mon Sep 17 00:00:00 2001 From: HotCakeX Date: Sat, 21 Oct 2023 19:53:04 +0100 Subject: [PATCH] Updated NextDNS automated script --- .../Stream the logs - Customized Output for Microsoft.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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