hi:
Noe one else encountered the same problem to user wait_fd_read api in
gevent mode?
maybe I should list my uwsgi config, and I use monkey.patch_all() at the
first line in my wsgi file
socket = 127.0.0.1:9996
master = true
wsgi-file =app.py
processes = 1
gevent = 100
lazy-apps = true
max-requests = 10000
listen = 100
daemonize =uwsgi.log
plugins-dir = /usr/lib/uwsgi
plugin = python27,gevent
At 2016-01-08 19:06:06, "xin" <[email protected]> wrote:
hi:
I use uwsgi.wait_fd_read api in order to monitor two fd in the same cgi,
for example a chat like
[https://github.com/unbit/uwsgi/blob/master/tests/websockets_chat_async.py],
but when I call wait_fd_read, uwsgi report error "ASYNC call without async
mode !!!"
I use gevent and uwsgi report "** Operational MODE: async ***" in the log.
I notice the same problem at
[https://gist.github.com/ikatson/264ffc6e496854b58015], so how to use this api
or better suggestion on my scene for monitor more than one fd? thx
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi