Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
7266088b
Commit
7266088b
authored
Apr 05, 2012
by
Leigh B Stoller
Browse files
Bug Fix: push up only the top level aggregates.
parent
1ea5bf13
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/scripts/expire_daemon.in
View file @
7266088b
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment