Просмотр исходного кода

Merge pull request #75 from sharelatex/as-10-pc-rollout

Rollout autocompile to 10% of users
Alasdair Smith 9 лет назад
Родитель
Сommit
f8e44471ee
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      services/web/app/coffee/Features/Project/ProjectController.coffee

+ 1 - 1
services/web/app/coffee/Features/Project/ProjectController.coffee

@@ -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 = 10 # 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)