Browse Source

Merge pull request #84 from sharelatex/as-20-pc-rollout

Increase autocompile rollout to 20%
Alasdair Smith 9 năm trước cách đây
mục cha
commit
7002f1ba8b

+ 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)
 				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 = 10 # Percentage of users to roll out to
+				rolloutPercentage = 20 # 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)