At the end of every request I have to execute some code (eg to close a database 
connection). However, sometimes an error occurs in code, so I also have to wrap 
all in "try".
Sometimes there is a timeout (hara-kiri). I would like to my "final" code 
perform despite anything.

I'm thinking about something like: uwsgi.after_req_hook

Any ideas how to smartly solve my problem?


-- 
Łukasz Wróblewski
http://www.nri.pl/ - Nowoczesne Rozwiązania Internetowe
http://www.hostowisko.pl/ - Profesjonalny i tani hosting
http://www.katalog-polskich-firm.pl/ - Najlepszy darmowy katalog firm
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to