1% rollout

This commit is contained in:
Alasdair Smith 2017-11-08 12:42:47 +00:00
parent 8174a849a1
commit 80231b0c1f

View file

@ -259,7 +259,7 @@ module.exports = ProjectController =
timestamp = parseInt(user_id.toString().substring(0, 8), 16)
counter = parseInt(user_id.toString().substring(18, 24), 16)
rolloutPercentage = 5 # Percentage of users to roll out to
rolloutPercentage = 1 # Percentage of users to roll out to
if counter % 100 > rolloutPercentage
# Don't show if user is not part of roll out
return cb(null, { enabled: false, showOnboarding: false })