Longer timeout for getting public ip, so we can wait for gluetun to come online

This commit is contained in:
2025-10-18 23:26:18 +02:00
parent bc89d48a41
commit 09c37d2bbb
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ def connect_to_channel_and_check_topic():
log("*", f"Connecting to {IRC_SERVER}:{IRC_PORT} {"with TLS" if USE_TLS else "plain"}")
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.settimeout(10)
sock.settimeout(60)
if USE_TLS:
context = ssl.create_default_context()
sock = context.wrap_socket(sock, server_hostname=IRC_SERVER)