Fix to actual percentage

This commit is contained in:
Alasdair Smith 2017-10-17 15:44:15 +01:00
parent 6ff3a2de9f
commit b0dc84748a

View file

@ -258,7 +258,7 @@ module.exports = ProjectController =
counter = parseInt(user_id.toString().substring(18, 24), 16) counter = parseInt(user_id.toString().substring(18, 24), 16)
rolloutPercentage = 1 # Percentage of users to roll out to rolloutPercentage = 1 # Percentage of users to roll out to
if counter % 1000 > rolloutPercentage if counter % 100 > rolloutPercentage
# Don't show if user is not part of roll out # Don't show if user is not part of roll out
return cb(null, false) return cb(null, false)
userSignupDate = new Date(timestamp * 1000) userSignupDate = new Date(timestamp * 1000)