mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-08 06:31:58 +00:00
fixed respawn_count
This commit is contained in:
@@ -2273,7 +2273,7 @@ PyObject *py_uwsgi_workers(PyObject * self, PyObject * args) {
|
||||
}
|
||||
Py_DECREF(zero);
|
||||
|
||||
zero = PyLong_FromLong(uwsgi.workers[i + 1].respawn_count);
|
||||
zero = PyLong_FromLong(uwsgi.workers[i + 1].respawn_count-1);
|
||||
if (PyDict_SetItemString(worker_dict, "respawn_count", zero)) {
|
||||
goto clear;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user