[Bps-public-commit] smokingit branch, master, updated. 2528b53783b1dd0468e33f21a9b925f490b462e4
Alex Vandiver
alexmv at bestpractical.com
Mon Dec 5 17:19:12 EST 2011
The branch, master has been updated
via 2528b53783b1dd0468e33f21a9b925f490b462e4 (commit)
from 9a7622bb76e1a6badccf11d88a6dba6b86714244 (commit)
Summary of changes:
lib/Smokingit/Model/Commit.pm | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 2528b53783b1dd0468e33f21a9b925f490b462e4
Author: Alex Vandiver <alex at chmrr.net>
Date: Mon Dec 5 17:19:07 2011 -0500
Ensure that we do not cache the "untested" status, either
diff --git a/lib/Smokingit/Model/Commit.pm b/lib/Smokingit/Model/Commit.pm
index 3247508..7d04866 100644
--- a/lib/Smokingit/Model/Commit.pm
+++ b/lib/Smokingit/Model/Commit.pm
@@ -186,7 +186,8 @@ sub status {
last;
}
$memcached->set( $self->status_cache_key, $status)
- unless $results{broken} or $results{testing} or $results{queued};
+ unless $results{broken} or $results{testing} or $results{queued}
+ or $status eq "untested";
return $status;
}
}
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list