mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Change rollout detection to account for changes in proportion preserving rolled out users
This commit is contained in:
parent
550e7d75ca
commit
5047213c3c
1 changed files with 2 additions and 1 deletions
|
@ -257,7 +257,8 @@ module.exports = ProjectController =
|
|||
timestamp = parseInt(user_id.toString().substring(0, 8), 16)
|
||||
counter = parseInt(user_id.toString().substring(18, 24), 16)
|
||||
|
||||
if counter % 5000 != 0
|
||||
rolloutProportion = 10
|
||||
if counter % 1000 < rolloutProportion
|
||||
# Don't show if user is not part of roll out
|
||||
return cb(null, false)
|
||||
userSignupDate = new Date(timestamp * 1000)
|
||||
|
|
Loading…
Reference in a new issue