Increase rollout to 5%

This commit is contained in:
Alasdair Smith 2017-10-20 10:23:52 +01:00
parent 0d02332be8
commit edb2a6c88b

View file

@ -257,7 +257,7 @@ module.exports = ProjectController =
timestamp = parseInt(user_id.toString().substring(0, 8), 16) timestamp = parseInt(user_id.toString().substring(0, 8), 16)
counter = parseInt(user_id.toString().substring(18, 24), 16) counter = parseInt(user_id.toString().substring(18, 24), 16)
rolloutPercentage = 3 # Percentage of users to roll out to rolloutPercentage = 5 # Percentage of users to roll out to
if counter % 100 > 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)