size_census.php: include only active hosts (expavg_credit>10) in census.

This commit is contained in:
David Anderson 2015-07-10 16:11:16 -07:00
parent 4a5bf5f5e4
commit 8c53ae493a
1 changed files with 2 additions and 1 deletions

View File

@ -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)) {