Update backup.html (#2015)

This commit is contained in:
CaCO3
2023-02-11 21:45:08 +01:00
committed by GitHub
parent 55be652dc1
commit 44e186e65b

View File

@@ -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");