FIX: timeout_monitor was removed from cherrypy in 12.0

This commit is contained in:
Barbeque Sauce 2020-01-13 14:50:13 -05:00 committed by GitHub
parent 5e2855cb51
commit 848ed80127
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -29,6 +29,7 @@ class WebViewer(object):
'tools.sessions.storage_class': cherrypy.lib.sessions.FileSession,
'tools.sessions.storage_path': os.path.join(mylar.DATA_DIR, "sessions"),
'request.show_tracebacks': False,
'engine.timeout_monitor.on': False,
}
if mylar.CONFIG.HTTP_PASSWORD is None:
updatecherrypyconf.update({
@ -37,7 +38,6 @@ class WebViewer(object):
cherrypy.config.update(updatecherrypyconf)
cherrypy.engine.signals.subscribe()
cherrypy.engine.timeout_monitor.unsubscribe()
def read_comic(self, ish_id = None, page_num = None, size = None):
logger.debug("WebReader Requested, looking for ish_id %s and page_num %s" % (ish_id, page_num))