mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-08-22 22:05:47 +00:00
fixed json format for metrics
This commit is contained in:
@@ -886,7 +886,14 @@ struct uwsgi_stats *uwsgi_master_generate_stats() {
|
||||
uwsgi_rwunlock(uwsgi.metrics_lock);
|
||||
goto end;
|
||||
}
|
||||
|
||||
um = um->next;
|
||||
if (um) {
|
||||
if (uwsgi_stats_comma(us)) {
|
||||
uwsgi_rwunlock(uwsgi.metrics_lock);
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
uwsgi_rwunlock(uwsgi.metrics_lock);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user