pullRequest can take longer
This commit is contained in:
parent
6eff308468
commit
99777a78e7
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue