Merge pull request #86 from sharelatex/as-40-pc-rollout

Increase autocompile rollout to 40%
This commit is contained in:
Alasdair Smith 2017-10-31 09:39:13 +00:00 committed by GitHub
commit 326e0dd8d1

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 = 20 # Percentage of users to roll out to
rolloutPercentage = 40 # 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, false)