mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Set the default timeout for all sockets to 10 seconds.
This commit is contained in:
parent
e3661e3ba5
commit
36b6821c5e
@ -43,12 +43,15 @@ import sre
|
||||
import time
|
||||
import types
|
||||
import atexit
|
||||
import socket
|
||||
import threading
|
||||
|
||||
import log
|
||||
import conf
|
||||
import ircutils
|
||||
|
||||
socket.setdefaulttimeout(10)
|
||||
|
||||
startedAt = time.time() # Just in case it doesn't get set later.
|
||||
|
||||
mainThread = threading.currentThread()
|
||||
|
Loading…
Reference in New Issue
Block a user