mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-07 10:33:38 +00:00
Merge pull request #276 from WebSpider/dev-increase_client_timeout
Increasing generic client timeout
This commit is contained in:
commit
271afb8c5d
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ class GenericClient(object):
|
||||||
return False
|
return False
|
||||||
try:
|
try:
|
||||||
self.response = self.session.__getattribute__(method)(self.url, params=params, data=data, files=files,
|
self.response = self.session.__getattribute__(method)(self.url, params=params, data=data, files=files,
|
||||||
timeout=10, verify=False)
|
timeout=20, verify=False)
|
||||||
except requests.exceptions.ConnectionError, e:
|
except requests.exceptions.ConnectionError, e:
|
||||||
logger.log(self.name + u': Unable to connect ' + ex(e), logger.ERROR)
|
logger.log(self.name + u': Unable to connect ' + ex(e), logger.ERROR)
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Reference in a new issue