Added retry logic to fetching process

This commit is contained in:
Luxferre
2024-10-27 15:18:41 +02:00
parent 4f4f6f7bdb
commit 06e507baae
+1 -1
View File
@@ -154,7 +154,7 @@ proc getfile {url} {
} else {return {}}
}
https - http {
set hs [::http::geturl $url -binary 1 -keepalive 0 -timeout 4000]
set hs [::http::geturl $url -binary 1 -keepalive 0 -timeout 10000]
if {[::http::ncode $hs] eq "200"} {
return [::http::data $hs]
} else {return {}}