mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Also prevent rollout to modulo 0 users
This commit is contained in:
parent
abb21ac96b
commit
60c297eac8
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ module.exports = ProjectController =
|
||||||
counter = parseInt(user_id.toString().substring(18, 24), 16)
|
counter = parseInt(user_id.toString().substring(18, 24), 16)
|
||||||
|
|
||||||
rolloutProportion = 0
|
rolloutProportion = 0
|
||||||
if counter % 1000 > rolloutProportion
|
if counter % 1000 >= rolloutProportion
|
||||||
# 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)
|
||||||
userSignupDate = new Date(timestamp * 1000)
|
userSignupDate = new Date(timestamp * 1000)
|
||||||
|
|
Loading…
Reference in a new issue