Add timeout
This commit is contained in:
parent
aaff11808e
commit
b65b9d0f95
@ -50,4 +50,4 @@ while True:
|
||||
conn, address = serverSocket.accept()
|
||||
with connectionLock:
|
||||
connection = conn
|
||||
connection.settimeout(None)
|
||||
connection.settimeout(5)
|
Loading…
Reference in New Issue
Block a user