Code Reviews

This commit is contained in:
Paul Betts
2016-04-20 10:32:08 -07:00
parent 7b294a9c69
commit e7aaab5f84
2 changed files with 14 additions and 11 deletions

View File

@@ -150,6 +150,9 @@ namespace Squirrel
public bool IsStagingMatch(Guid? userId)
{
// A "Staging match" is when a user falls into the affirmative
// bucket - i.e. if the staging is at 10%, this user is the one out
// of ten case.
if (!StagingPercentage.HasValue) return true;
if (!userId.HasValue) return false;

View File

@@ -192,7 +192,7 @@ namespace Squirrel
this.Log().Info("Using existing staging user ID: {0}", ret.ToString());
return ret;
} catch (Exception ex) {
this.Log().InfoException("Couldn't read staging user ID, creating a blank one", ex);
this.Log().DebugException("Couldn't read staging user ID, creating a blank one", ex);
}
var prng = new Random();