Don't use file download timeout for fetching ContentDB packages
This commit is contained in:
parent
7a9b79565b
commit
f8bbed282e
@ -562,8 +562,7 @@ function store.load()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local timeout = tonumber(core.settings:get("curl_file_download_timeout"))
|
local response = http.fetch_sync({ url = url })
|
||||||
local response = http.fetch_sync({ url = url, timeout = timeout })
|
|
||||||
if not response.succeeded then
|
if not response.succeeded then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user