set socket timeout time to 5 seconds
This commit is contained in:
parent
e8686e0279
commit
5dd972a00e
|
@ -1,4 +1,7 @@
|
||||||
from util import hook
|
from util import hook
|
||||||
|
import socket
|
||||||
|
|
||||||
|
socket.setdefaulttimeout(5) # global setting
|
||||||
|
|
||||||
|
|
||||||
#autorejoin channels
|
#autorejoin channels
|
||||||
|
|
Loading…
Reference in New Issue