> I thought about sys.exit(1) too, but I need the worker to exit only after
> handling the current request (i.e. after returning from the WSGI callable
> and handing the output to the client).
>
> Or is there something I'm missing here?


there is the uwsgi.after_req_hook that can be run after each request
but runs before logging, so you will lose it.




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

Reply via email to