diff --git a/src/utils.py b/src/utils.py index c89283e745bcd6d1e718b494031557ea967eae8d..441289caafb0442b7644767c8478a7880c3b7419 100644 --- a/src/utils.py +++ b/src/utils.py @@ -49,7 +49,10 @@ class CheckURL(Check): """Checks validaty of a URL.""" try: response = requests.request( - self._method, self._url, allow_redirects=False + self._method, + self._url, + allow_redirects=False, + timeout=30, ) return ( response.status_code in self._valid_codes,