mirror of
https://github.com/logos-messaging/packages.git
synced 2026-01-08 17:13:09 +00:00
Increase timeout in package_scanner.
This commit is contained in:
parent
f14f008be3
commit
3584ec6340
@ -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…
x
Reference in New Issue
Block a user