added support for reload-on-exception on PyPy and interval-based cron syntax

This commit is contained in:
roberto@mrspurr
2012-04-06 07:40:21 +02:00
parent e2024ed2fd
commit cceee511f2
6 changed files with 65 additions and 45 deletions

View File

@@ -216,11 +216,7 @@ int uwsgi_response_subhandler_wsgi(struct wsgi_request *wsgi_req) {
if (!pychunk) {
if (PyErr_Occurred()) {
#ifndef UWSGI_PYPY
int do_exit = uwsgi_python_manage_exceptions();
#else
int do_exit = 0;
#endif
if (PyErr_ExceptionMatches(PyExc_MemoryError)) {
uwsgi_log("Memory Error detected !!!\n");
}