better loaded app reporting

This commit is contained in:
roberto@precise64
2012-02-22 11:55:06 +01:00
parent 4a8aa01f40
commit 87860da238
3 changed files with 7 additions and 5 deletions
+2
View File
@@ -2542,6 +2542,8 @@ PyObject *py_uwsgi_workers(PyObject * self, PyObject * args) {
PyDict_SetItemString(apps_dict, "mountpoint", zero);
Py_DECREF(zero);
PyDict_SetItemString(apps_dict, "startup_time", PyInt_FromLong((long) ua->startup_time));
PyDict_SetItemString(apps_dict, "interpreter", PyInt_FromLong((long)ua->interpreter));
PyDict_SetItemString(apps_dict, "callable", PyInt_FromLong((long)ua->interpreter));