I have a web application written in Flask. At startup it spawns a background thread and waits on a threading.Event for the background thread to initialise before continuing. It works fine when run outside uwsgi, but when run in uwsgi it hangs on the lock. I know the lock has been released because I am writing to the log on the line before and the line after the line of code that releases the lock.
Here is my config file, I am running uwsgi in Emperor mode: [uwsgi] master = true processes = 1 uid=edpod gid=edpod virtualenv = /host/sites/edpod pythonpath = /host/sites/edpod module = Edpod.uwsgi callable = app socket = 127.0.0.1:6000 enable-threads Does anyone have any ideas or can point me to some documentation around how threading works in uwsgi. -- Richard Collins
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
