diff --git a/uptime/check/check.py b/uptime/check/check.py index 97437eb..530157a 100644 --- a/uptime/check/check.py +++ b/uptime/check/check.py @@ -11,7 +11,7 @@ from config import HC_ROOT, CONFIG def check_domain(domain): try: - r = get('https://%s' % domain) + r = get('https://%s' % domain, timeout=6) except Exception as e: return (e, 0) return (r.status_code, r.elapsed)