Commit 830d8dd1 authored by Mike Hibler's avatar Mike Hibler
Browse files

account for boundary condition that plab/stale_age==0 means never stale

parent 0b998589
......@@ -417,7 +417,7 @@ sub ShowMetrics()
if (!defined($metricsage)) {
$line .= "," if $gotone++;
$line .= "reject_no_data";
} elsif ($metricsage > $STALEAGE) {
} elsif ($STALEAGE > 0 && $metricsage > $STALEAGE) {
$line .= "," if $gotone++;
$line .= "reject_stale_data";
}
......
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