Set default socket timeout to 3 seconds
This commit is contained in:
parent
795bc51da4
commit
76688d7611
|
@ -32,6 +32,7 @@ import threading
|
|||
|
||||
# Used for bound_interface
|
||||
socket_socket = socket.socket
|
||||
socket.setdefaulttimeout(3)
|
||||
|
||||
try:
|
||||
import xml.etree.cElementTree as ET
|
||||
|
|
Loading…
Reference in New Issue