I'm hitting up against a wall here... If I do `yield ""` inside the generator, it doesn't seem to do anything other than just return an empty string.
If I call uwsgi.suspend() it seems to be doing some weirdness. The first time it's called it seems to do nothing and returns immediately. I then try to read on the file descriptor and there's nothing there. When it comes around in the loop to call suspend again then it actually pauses, but it seems to hang on to all resources and nothing else runs until it times out. The fd I'm using is for a zmq socket. I'm thinking I'm just not understanding something important here... ^_^ Basically I have a pyramid application where most views are straight forward and non-blocking. Then I have a few views that work like "Comet" where you maintain an open connection for 50 seconds. I'd like to still process requests when there's nothing happening on those 50 second connections, but I can't seem to do that.
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
