Longer timeout for getting public ip, so we can wait for gluetun to come online
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user