From 812e8443bd83d31d6e363fd8d4a634f8bc2116fa Mon Sep 17 00:00:00 2001 From: Nils Vogels Date: Thu, 1 May 2014 10:17:00 +0200 Subject: [PATCH] Increasing generic client timeout to 20s to work around busy hosts --- sickbeard/clients/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sickbeard/clients/generic.py b/sickbeard/clients/generic.py index 23657760..805fba0f 100644 --- a/sickbeard/clients/generic.py +++ b/sickbeard/clients/generic.py @@ -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