From 5dd972a00e11ee6ea9044be0c504abbaf2d12cd6 Mon Sep 17 00:00:00 2001 From: Ryan Hitchman Date: Fri, 20 Nov 2009 18:12:29 -0700 Subject: [PATCH] set socket timeout time to 5 seconds --- plugins/misc.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/misc.py b/plugins/misc.py index 614df7e..181db84 100644 --- a/plugins/misc.py +++ b/plugins/misc.py @@ -1,4 +1,7 @@ from util import hook +import socket + +socket.setdefaulttimeout(5) # global setting #autorejoin channels