diff --git a/src/main.py b/src/main.py index 90c27eb..324533e 100644 --- a/src/main.py +++ b/src/main.py @@ -4,6 +4,7 @@ from time import sleep TIMEOUT: float = 1 TESTDOMAINS: list[str] = ["cscherr.de", "debian.org", "cloudflare.com"] +SLEEPTIME: int = 600 # 10 minutes def check_net() -> bool: statuses: list[bool] = [] @@ -33,7 +34,7 @@ def monitor(): b = check_net() if b: print(":SUCCESS:") else: print(":FAILURE:") - sleep(4) + sleep(SLEEPTIME) except Exception as e: print(e)