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

Bug Fix: push up only the top level aggregates.

parent 1ea5bf13
...@@ -593,9 +593,10 @@ sub PushStats() ...@@ -593,9 +593,10 @@ sub PushStats()
# #
my $query_result = my $query_result =
GeniDB::DBQueryWarn("select * from aggregate_history ". GeniDB::DBQueryWarn("select * from aggregate_history ".
"where idx>$lastidx or ". "where type='Aggregate' and ".
" (idx<=$lastidx and reported is null) ". " (idx>$lastidx or ".
"limit 20"); " (idx<=$lastidx and reported is null)) ".
"limit 25");
return -1 return -1
if (!$query_result); if (!$query_result);
return 0 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