forked from orbit-oss/flask
Update gevent wsgi
gevent.wsgi is deprecated since gevent 1.1 and removed in gevent 1.3. gevent.pywsgi should be used instead
This commit is contained in:
parent
027aeecf26
commit
c853d11fc5
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ Gevent
|
||||||
`greenlet`_ to provide a high-level synchronous API on top of `libev`_
|
`greenlet`_ to provide a high-level synchronous API on top of `libev`_
|
||||||
event loop::
|
event loop::
|
||||||
|
|
||||||
from gevent.wsgi import WSGIServer
|
from gevent.pywsgi import WSGIServer
|
||||||
from yourapplication import app
|
from yourapplication import app
|
||||||
|
|
||||||
http_server = WSGIServer(('', 5000), app)
|
http_server = WSGIServer(('', 5000), app)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue