Commit 7266088b authored by Leigh B Stoller's avatar Leigh B Stoller

Bug Fix: push up only the top level aggregates.

parent 1ea5bf13
......@@ -593,9 +593,10 @@ sub PushStats()
#
my $query_result =
GeniDB::DBQueryWarn("select * from aggregate_history ".
"where idx>$lastidx or ".
" (idx<=$lastidx and reported is null) ".
"limit 20");
"where type='Aggregate' and ".
" (idx>$lastidx or ".
" (idx<=$lastidx and reported is null)) ".
"limit 25");
return -1
if (!$query_result);
return 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment