1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-24 02:27:22 +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);
}
});
});

View File

@ -1,3 +1,4 @@
Werkzeug<3.0.0
APScheduler>=3.6.3,<3.11.0
Babel>=1.3,<3.0
Flask-Babel>=0.11.1,<3.2.0

View File

@ -57,6 +57,7 @@ install_requires =
chardet>=3.0.0,<4.1.0
advocate>=1.0.0,<1.1.0
Flask-Limiter>=2.3.0,<3.5.0
werkzeug<3.0.0
[options.extras_require]

File diff suppressed because it is too large Load Diff