1
0
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:
echel0n 2014-12-17 17:05:05 -08:00
parent ced8785269
commit 086e7abf70

View File

@ -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)