fixed carbon no_workers check

This commit is contained in:
roberto@quantal64
2012-08-14 14:15:35 +02:00
parent 2f5132c539
commit 22892ce550
+1 -1
View File
@@ -92,7 +92,7 @@ void carbon_master_cycle() {
}
//skip per worker metrics when disabled
if (!u_carbon.no_workers) continue;
if (u_carbon.no_workers) continue;
rlen = snprintf(ptr, 4096, "uwsgi.%s.%s.worker%d.requests %llu %llu\n", uwsgi.hostname, u_carbon.id, i, (unsigned long long ) uwsgi.workers[i].requests, (unsigned long long ) uwsgi.current_time);
if (rlen < 1) goto clear;