Increase GET timeout.

This commit is contained in:
Dominik Picheta 2015-09-01 18:02:46 +01:00
parent df1b9353e4
commit 575a9be627

View File

@ -55,7 +55,7 @@ proc canFetchNimbleRepository(name: string, urlJson: JsonNode): bool =
url = urlJson.str
try:
discard getContent(url, timeout=1000)
discard getContent(url, timeout=5000)
except HttpRequestError, TimeoutError:
echo "E: ", name, ": unable to fetch repository ", url, " ",
getCurrentExceptionMsg()