Merge pull request #108 from sharelatex/as-5-pc-rollout

Increase autocompile rollout to 3%
This commit is contained in:
Alasdair Smith 2017-11-15 14:44:40 +00:00 committed by GitHub
commit c21b5ca1cc

View file

@ -276,7 +276,7 @@ module.exports = ProjectController =
# Extract data from user's ObjectId
timestamp = parseInt(user_id.toString().substring(0, 8), 16)
rolloutPercentage = 1 # Percentage of users to roll out to
rolloutPercentage = 3 # Percentage of users to roll out to
if !ProjectController._isInPercentageRollout('autocompile', user_id, rolloutPercentage)
# Don't show if user is not part of roll out
return cb(null, { enabled: false, showOnboarding: false })