pullRequest can take longer

This commit is contained in:
j 2016-04-05 01:29:49 +02:00
parent 6eff308468
commit 99777a78e7

View file

@ -126,7 +126,7 @@ class Node(Thread):
self._opener.addheaders = list(zip(headers.keys(), headers.values())) self._opener.addheaders = list(zip(headers.keys(), headers.values()))
#logger.debug('headers: %s', self._opener.addheaders) #logger.debug('headers: %s', self._opener.addheaders)
try: try:
r = self._opener.open(url, data=content, timeout=self.TIMEOUT*2) r = self._opener.open(url, data=content, timeout=self.TIMEOUT*12)
except urllib.error.HTTPError as e: except urllib.error.HTTPError as e:
if e.code == 403: if e.code == 403:
logger.debug('403: %s (%s)', url, self.user_id) logger.debug('403: %s (%s)', url, self.user_id)