1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2024-12-21 23:32:23 +00:00

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 evilhero
parent 295ab9e638
commit 45dc95d304

View file

@ -34,6 +34,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({
@ -42,7 +43,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))