mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-10 13:00:16 +02:00
Increase telnet timeout
Should help tolerate slower responses from remote servers. Closes #751 Thanks @namenmalkav
This commit is contained in:
parent
8a73890646
commit
933c12b48d
@ -36,7 +36,7 @@ class TS3Proto:
|
||||
|
||||
def connect(self, ip, port):
|
||||
try:
|
||||
self._conn = telnetlib.Telnet(host=ip, port=port)
|
||||
self._conn = telnetlib.Telnet(host=ip, port=port, timeout=5)
|
||||
self._connected = True
|
||||
except:
|
||||
# raise ConnectionError(ip, port)
|
||||
|
Loading…
x
Reference in New Issue
Block a user