mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Code Reviews
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user