mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-28 04:19:59 +00:00
Better fix for new tornado version
This commit is contained in:
parent
5ceb2b6d83
commit
7ed56b4397
@ -288,4 +288,5 @@ class WebServer(object):
|
|||||||
if _GEVENT:
|
if _GEVENT:
|
||||||
self.wsgiserver.close()
|
self.wsgiserver.close()
|
||||||
else:
|
else:
|
||||||
self.wsgiserver.add_callback_from_signal(self.wsgiserver.stop)
|
self.wsgiserver.call_later(1.0, self.wsgiserver.stop)
|
||||||
|
# self.wsgiserver.add_callback()
|
||||||
|
@ -397,11 +397,6 @@ $(function() {
|
|||||||
success: function success() {
|
success: function success() {
|
||||||
$("#spinner").show();
|
$("#spinner").show();
|
||||||
setTimeout(restartTimer, 3000);
|
setTimeout(restartTimer, 3000);
|
||||||
},
|
|
||||||
error: function (xhr) {
|
|
||||||
// Fix for new tornado versions , not returning a response during restart
|
|
||||||
$("#spinner").show();
|
|
||||||
setTimeout(restartTimer, 3000);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -38,6 +38,7 @@ console_scripts =
|
|||||||
[options]
|
[options]
|
||||||
include_package_data = True
|
include_package_data = True
|
||||||
install_requires =
|
install_requires =
|
||||||
|
Werkzeug<3.0.0
|
||||||
APScheduler>=3.6.3,<3.11.0
|
APScheduler>=3.6.3,<3.11.0
|
||||||
Babel>=1.3,<3.0
|
Babel>=1.3,<3.0
|
||||||
Flask-Babel>=0.11.1,<3.2.0
|
Flask-Babel>=0.11.1,<3.2.0
|
||||||
@ -57,7 +58,6 @@ install_requires =
|
|||||||
chardet>=3.0.0,<4.1.0
|
chardet>=3.0.0,<4.1.0
|
||||||
advocate>=1.0.0,<1.1.0
|
advocate>=1.0.0,<1.1.0
|
||||||
Flask-Limiter>=2.3.0,<3.5.0
|
Flask-Limiter>=2.3.0,<3.5.0
|
||||||
werkzeug<3.0.0
|
|
||||||
|
|
||||||
|
|
||||||
[options.extras_require]
|
[options.extras_require]
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user