mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-08 06:31:58 +00:00
better shared sockets support
This commit is contained in:
@@ -2242,6 +2242,12 @@ PyObject *py_uwsgi_workers(PyObject * self, PyObject * args) {
|
||||
}
|
||||
Py_DECREF(zero);
|
||||
|
||||
zero = PyLong_FromLong(uwsgi.workers[i + 1].tx);
|
||||
if (PyDict_SetItemString(worker_dict, "tx", zero)) {
|
||||
goto clear;
|
||||
}
|
||||
Py_DECREF(zero);
|
||||
|
||||
/* return a tuple of current status ! (in_request, blocking, locking, )
|
||||
|
||||
zero = PyLong_FromLong(uwsgi.workers[i+1].in_request);
|
||||
|
||||
Reference in New Issue
Block a user