mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-13 06:56:56 +03:00
Update backup.html (#2015)
This commit is contained in:
@@ -121,9 +121,15 @@ function fetchFiles(urls, filesData, index, retry, zipFilename) {
|
||||
else if (retry == 1) { // longer timeout
|
||||
xhr.timeout = 5000; // time in milliseconds
|
||||
}
|
||||
else { // very long timeout
|
||||
else if (retry == 2) { // longer timeout
|
||||
xhr.timeout = 20000; // time in milliseconds
|
||||
}
|
||||
else if (retry == 3) { // longer timeout
|
||||
xhr.timeout = 30000; // time in milliseconds
|
||||
}
|
||||
else { // very long timeout
|
||||
xhr.timeout = 60000; // time in milliseconds
|
||||
}
|
||||
|
||||
xhr.onload = () => { // Request finished
|
||||
//console.log(url + " done");
|
||||
|
||||
Reference in New Issue
Block a user