This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from concurrent import futures | |
from tornado import escape, gen, web | |
from tornado.wsgi import WSGIContainer | |
class WSGIHandler(web.RequestHandler): | |
thread_pool_size = 10 | |
def initialize(self, wsgi_application): | |
self.wsgi_application = wsgi_application |