Increase timeout in package_scanner.
This commit is contained in:
parent
f14f008be3
commit
3584ec6340
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ proc check(): int =
|
||||||
name = pdata["name"].str
|
name = pdata["name"].str
|
||||||
url = pdata["web"].str
|
url = pdata["web"].str
|
||||||
try:
|
try:
|
||||||
discard getContent(url, timeout=400)
|
discard getContent(url, timeout=1000)
|
||||||
|
|
||||||
except HttpRequestError, TimeoutError:
|
except HttpRequestError, TimeoutError:
|
||||||
echo "E: ", name, ": unable to fetch repository ", url, " ", getCurrentExceptionMsg()
|
echo "E: ", name, ": unable to fetch repository ", url, " ", getCurrentExceptionMsg()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue