Increase timeout in package_scanner.

This commit is contained in:
Dominik Picheta 2015-05-18 22:15:45 +01:00
parent f14f008be3
commit 3584ec6340

View File

@ -86,7 +86,7 @@ proc check(): int =
name = pdata["name"].str
url = pdata["web"].str
try:
discard getContent(url, timeout=400)
discard getContent(url, timeout=1000)
except HttpRequestError, TimeoutError:
echo "E: ", name, ": unable to fetch repository ", url, " ", getCurrentExceptionMsg()