@jakubroztocil would you please provide some explanation regarding running this app through gunicorn + gevent workers?
In particular I can not understand how we're able to perform non-pending request to /stream with EventSource('/stream')? (In case of running app with gevent.pywsgi.WSGIServer I'll receive pending request for /stream but with gunicorn+gevent worker - 200 OK)
In order to make chat app working through gevent.pywsgi.WSGIServer all the stuff should be monkey-patched with gevent.monkey.patch_socket() (and this requirement is kind a reasonable).
@jakubroztocil would you please provide some explanation regarding running this app through gunicorn + gevent workers? In particular I can not understand how we're able to perform non-pending request to
/stream
withEventSource('/stream')
? (In case of running app withgevent.pywsgi.WSGIServer
I'll receivepending
request for/stream
but with gunicorn+gevent worker -200 OK
)