> Sorry that was just me messing up.
>
> I still would like to know how I can work around the fact that I cannot
> call the uwsgi api from with a Greenlet.
> Any tips would be greatly appreciated.

Some of the api calls requires to be called from the greenlet mapped to
the request (like websockets one).

The trick with websockets is waiting for both uwsgi.connection_fd() and
redis fd.

If uwsgi.connection_fd() is ready, you call the websocket_recv() otherwise
you call redis (and so on)


>
> Cheers.
>
> From: [email protected] [mailto:[email protected]]
> On Behalf Of Alexandro G.S. Mancusi
> Sent: 16 May 2013 19:54
> To: [email protected]
> Subject: [uWSGI] Python Decorators
>
> Am I mistaken or are python decorators (uwsgidecorators) not available in
> uwsgi 1.9.10?
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>


-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to