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
ced8785269
commit
086e7abf70
@ -203,7 +203,6 @@ class BaseHandler(RequestHandler):
|
|||||||
class WebHandler(BaseHandler):
|
class WebHandler(BaseHandler):
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
super(WebHandler, self).__init__(*args, **kwargs)
|
super(WebHandler, self).__init__(*args, **kwargs)
|
||||||
|
|
||||||
self.io_loop = IOLoop.current()
|
self.io_loop = IOLoop.current()
|
||||||
self.executor = ThreadPoolExecutor(50)
|
self.executor = ThreadPoolExecutor(50)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user