Skip to content
Myr

Update gevent wsgi

Before adoption: this commit came in with the history the project adopted, so no landing records it.

gevent.wsgi is deprecated since gevent 1.1 and removed in gevent 1.3. gevent.pywsgi should be used instead

authored by Tiago Coutinho · committed by GitHub · parent 027aeec · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/deploying/wsgi-standalone.rst+1 added-1 removed
48 unmodified lines
49`Gevent`_ is a coroutine-based Python networking library that uses50`greenlet`_ to provide a high-level synchronous API on top of `libev`_51event loop::5253 from gevent.wsgi import WSGIServer53 from gevent.pywsgi import WSGIServer54 from yourapplication import app5556 http_server = WSGIServer(('', 5000), app)57 http_server.serve_forever()
93 unmodified lines