mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-05 05:01:36 +00:00
a new kick-ass feature for the spooler
This commit is contained in:
@@ -22,7 +22,9 @@ PyObject *python_call(PyObject *callable, PyObject *args, int catch) {
|
||||
if (PyErr_ExceptionMatches(PyExc_MemoryError)) {
|
||||
uwsgi_log("Memory Error detected !!!\n");
|
||||
}
|
||||
uwsgi.workers[uwsgi.mywid].exceptions++;
|
||||
// this can be in a spooler or in the master
|
||||
if (uwsgi.mywid > 0)
|
||||
uwsgi.workers[uwsgi.mywid].exceptions++;
|
||||
if (!catch) {
|
||||
PyErr_Print();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user