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

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -