1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-11-02 16:23:04 +00:00

Fix for tornado 6.3 no response in restart moment

Update test results (many tests fail due to above problem)
This commit is contained in:
Ozzie Isaacs
2023-10-03 08:12:33 +02:00
parent 7a961c9011
commit 11816d3405
4 changed files with 7258 additions and 993 deletions

View File

@@ -333,7 +333,6 @@ $(function() {
} else {
$("#parent").addClass('hidden')
}
// console.log(data);
data.files.forEach(function(entry) {
if(entry.type === "dir") {
var type = "<span class=\"glyphicon glyphicon-folder-close\"></span>";
@@ -398,6 +397,11 @@ $(function() {
success: function success() {
$("#spinner").show();
setTimeout(restartTimer, 3000);
},
error: function (xhr) {
// Fix for new tornado versions , not returning a response during restart
$("#spinner").show();
setTimeout(restartTimer, 3000);
}
});
});