mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 11:02:21 -05:00
Fixed sickragetv/sickrage-issues#119 - IOLoop was being loaded before daemonizer code due to improper placement in WebHandler class, moved to init.
This commit is contained in:
parent
7b219fce8f
commit
ced8785269
@ -204,8 +204,8 @@ class WebHandler(BaseHandler):
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(WebHandler, self).__init__(*args, **kwargs)
|
||||
|
||||
io_loop = IOLoop.current()
|
||||
executor = ThreadPoolExecutor(50)
|
||||
self.io_loop = IOLoop.current()
|
||||
self.executor = ThreadPoolExecutor(50)
|
||||
|
||||
@coroutine
|
||||
@asynchronous
|
||||
|
@ -7,7 +7,7 @@ from sickbeard.webserve import LoginHandler, LogoutHandler, KeyHandler
|
||||
from sickbeard.webapi import ApiHandler
|
||||
from sickbeard import logger
|
||||
from sickbeard.helpers import create_https_certificates, generateApiKey
|
||||
from tornado.web import Application, StaticFileHandler, HTTPError, RedirectHandler
|
||||
from tornado.web import Application, StaticFileHandler, RedirectHandler
|
||||
from tornado.httpserver import HTTPServer
|
||||
from tornado.ioloop import IOLoop
|
||||
from tornado.routes import route
|
||||
|
Loading…
Reference in New Issue
Block a user