From 8c53ae493a5d585455a41eae00701f22ea7cfcfd Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 10 Jul 2015 16:11:16 -0700 Subject: [PATCH] size_census.php: include only active hosts (expavg_credit>10) in census. --- html/ops/size_census.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/html/ops/size_census.php b/html/ops/size_census.php index f5939038fa..f1f8a21b27 100755 --- a/html/ops/size_census.php +++ b/html/ops/size_census.php @@ -42,7 +42,8 @@ function do_app($app) { " where host_app_version.app_version_id = app_version.id " . " and app_version.appid = $app->id " . " and et_n > 0 and et_avg > 0 " . - " and host.id = host_app_version.host_id"; + " and host.id = host_app_version.host_id " . + " and host.expavg_credit > 10"; $result = $db->do_query($query); $a = array(); while ($x = _mysql_fetch_object($result)) {