mirror of
https://github.com/logos-messaging/packages.git
synced 2026-01-03 14:43:06 +00:00
Increase GET timeout.
This commit is contained in:
parent
df1b9353e4
commit
575a9be627
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user