Set the default timeout for all sockets to 10 seconds.

This commit is contained in:
Jeremy Fincher 2003-12-18 09:02:12 +00:00
parent e3661e3ba5
commit 36b6821c5e

View File

@ -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()