Now my question is, what would be a more proper way to run these
workers, so that they are started and stopped with the uWSGI
application, and restarted if they crash, considering they are all
endless loops.


use muleloop(n) instead of mulefunc(n).

The second one is used to call a function in a worker and run it in a
mule, while the second is exactly what you need.

but this again doesn't restart the mule and the job if it dies.


--
дамјан
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to