1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-08-13 16:53:54 -04:00

Adjust timeout for clients for slower machines

This commit is contained in:
Adam 2014-10-06 17:50:22 +08:00
parent a8767e0a51
commit 58e8df3c0d

View File

@ -48,7 +48,7 @@ class GenericClient(object):
return False
try:
self.response = self.session.__getattribute__(method)(self.url, params=params, data=data, files=files,
timeout=20, verify=False)
timeout=120, verify=False)
except requests.exceptions.ConnectionError, e:
logger.log(self.name + u': Unable to connect ' + ex(e), logger.ERROR)
return False