mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-24 17:10:31 +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:
|
||||
self.wsgiserver.close()
|
||||
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() {
|
||||
$("#spinner").show();
|
||||
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]
|
||||
include_package_data = True
|
||||
install_requires =
|
||||
Werkzeug<3.0.0
|
||||
APScheduler>=3.6.3,<3.11.0
|
||||
Babel>=1.3,<3.0
|
||||
Flask-Babel>=0.11.1,<3.2.0
|
||||
@ -57,7 +58,6 @@ 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
Loading…
Reference in New Issue
Block a user