fix(status): increase SSL check timeout 8s → 15s to reduce false timeouts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
OliverGiertz 2026-04-08 08:12:28 +00:00
parent f8f7f8fa07
commit d725139a05

View file

@ -72,7 +72,7 @@ def check_http(url: str, expected: list[int]) -> dict:
def check_ssl(domain: str) -> dict:
try:
ctx = ssl.create_default_context()
with socket.create_connection((domain, 443), timeout=8) as sock:
with socket.create_connection((domain, 443), timeout=15) as sock:
with ctx.wrap_socket(sock, server_hostname=domain) as ssock:
cert = ssock.getpeercert()
expires_str = cert.get("notAfter", "")