Double plugin mirror download timeout

This commit is contained in:
Kovid Goyal 2018-02-01 13:06:34 +05:30
parent 4e5b306547
commit 594c52a7af
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -27,7 +27,7 @@ INDEX = MR_URL + 'showpost.php?p=1362767&postcount=1'
IndexEntry = namedtuple('IndexEntry', 'name url donate history uninstall deprecated thread_id')
u = HTMLParser.HTMLParser().unescape
socket.setdefaulttimeout(60)
socket.setdefaulttimeout(120)
def read(url, get_info=False): # {{{