spooler multiprocess fixes

This commit is contained in:
roberto@precise64
2012-03-20 10:58:48 +01:00
parent b386317921
commit 08afa73e69
6 changed files with 67 additions and 15 deletions
+4
View File
@@ -1715,6 +1715,8 @@ PyObject *py_uwsgi_send_spool(PyObject * self, PyObject * args, PyObject *kw) {
}
}
UWSGI_RELEASE_GIL
if (numprio) {
priority = uwsgi_num2str(numprio);
}
@@ -1725,6 +1727,8 @@ PyObject *py_uwsgi_send_spool(PyObject * self, PyObject * args, PyObject *kw) {
free(spool_buffer);
UWSGI_GET_GIL
Py_DECREF(spool_vars);
if (i > 0) {