Commit f0563f8d authored by Leigh Stoller's avatar Leigh Stoller

Minor bug fix to prevent the epoch stats from getting set to -1. Not

sure this matters, having two sets of stats numbers has proven to be a
disaster.  I should just get rid of them or better, regen them with a
periodic script from the experiment stats.
parent 8cd76d49
......@@ -2042,7 +2042,7 @@ sub PostSwap($$$$)
$query_result->fetchrow_array;
# Might happen if swapin stats got losts.
$duration = 0
if (! defined($duration));
if (! defined($duration) || $duration < 0);
$prev_swapper = User->Lookup($prev_uid_idx);
$prev_swapper = $swapper
......
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