mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-30 20:31:34 +02:00
Merge pull request #62 from sharelatex/as-fix-rollout-logic
Fix autocompile rollout logic
This commit is contained in:
@@ -258,7 +258,7 @@ module.exports = ProjectController =
|
||||
counter = parseInt(user_id.toString().substring(18, 24), 16)
|
||||
|
||||
rolloutProportion = 0
|
||||
if counter % 1000 < rolloutProportion
|
||||
if counter % 1000 >= rolloutProportion
|
||||
# Don't show if user is not part of roll out
|
||||
return cb(null, false)
|
||||
userSignupDate = new Date(timestamp * 1000)
|
||||
|
||||
Reference in New Issue
Block a user