Currently if connecting to the specified URL fails for any number of reasons if you still have internet the script will go idle for 15s on the specified Arr instance.
this is not a huge problem as it will just recover and it doesn't do anything destruction, the current behaviour is better than just always assuming the internet works as this can result in destructive behaviour (Removing torrents because the script sees them as stalled) .
For the time being, just making this issue to serve as a KI - if someone can think of a better logic to check for both DNS AND valid internet connectivity please let me know or just make a PR.
Currently if connecting to the specified URL fails for any number of reasons if you still have internet the script will go idle for 15s on the specified Arr instance.
this is not a huge problem as it will just recover and it doesn't do anything destruction, the current behaviour is better than just always assuming the internet works as this can result in destructive behaviour (Removing torrents because the script sees them as stalled) .
For the time being, just making this issue to serve as a KI - if someone can think of a better logic to check for both DNS AND valid internet connectivity please let me know or just make a PR.