python - Tornado application asynchronous mode -
i wonder if there method verify tornado application running in asynchronous mode under tornado wsgi.
if you're using tornado wsgi, can guarantee tornado not running asynchronously. documentation tornado.wsgi.wsgiapplication states this:
a wsgi equivalent of tornado.web.application.
wsgiapplication similar tornado.web.application, except no asynchronous methods supported (since wsgi not support non-blocking requests properly). if call self.flush() or other asynchronous methods in request handlers running in wsgiapplication, throw exception.
Comments
Post a Comment