Merge pull request #276 from WebSpider/dev-increase_client_timeout

Increasing generic client timeout
This commit is contained in:
echel0n 2014-05-01 03:32:11 -07:00
commit 271afb8c5d

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=10, verify=False)
timeout=20, verify=False)
except requests.exceptions.ConnectionError, e:
logger.log(self.name + u': Unable to connect ' + ex(e), logger.ERROR)
return False