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:
parent
f8f7f8fa07
commit
d725139a05
1 changed files with 1 additions and 1 deletions
|
|
@ -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", "")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue