mirror of https://github.com/evilhero/mylar
FIX: timeout_monitor was removed from cherrypy in 12.0
This commit is contained in:
parent
295ab9e638
commit
45dc95d304
|
@ -34,6 +34,7 @@ class WebViewer(object):
|
||||||
'tools.sessions.storage_class': cherrypy.lib.sessions.FileSession,
|
'tools.sessions.storage_class': cherrypy.lib.sessions.FileSession,
|
||||||
'tools.sessions.storage_path': os.path.join(mylar.DATA_DIR, "sessions"),
|
'tools.sessions.storage_path': os.path.join(mylar.DATA_DIR, "sessions"),
|
||||||
'request.show_tracebacks': False,
|
'request.show_tracebacks': False,
|
||||||
|
'engine.timeout_monitor.on': False,
|
||||||
}
|
}
|
||||||
if mylar.CONFIG.HTTP_PASSWORD is None:
|
if mylar.CONFIG.HTTP_PASSWORD is None:
|
||||||
updatecherrypyconf.update({
|
updatecherrypyconf.update({
|
||||||
|
@ -42,7 +43,6 @@ class WebViewer(object):
|
||||||
|
|
||||||
cherrypy.config.update(updatecherrypyconf)
|
cherrypy.config.update(updatecherrypyconf)
|
||||||
cherrypy.engine.signals.subscribe()
|
cherrypy.engine.signals.subscribe()
|
||||||
cherrypy.engine.timeout_monitor.unsubscribe()
|
|
||||||
|
|
||||||
def read_comic(self, ish_id = None, page_num = None, size = None):
|
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))
|
logger.debug("WebReader Requested, looking for ish_id %s and page_num %s" % (ish_id, page_num))
|
||||||
|
|
Loading…
Reference in New Issue