mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-24 02:11:53 +00:00
ceil not round
This commit is contained in:
parent
1d356f93ec
commit
ad5af5f4dd
1 changed files with 1 additions and 1 deletions
|
@ -534,5 +534,5 @@ module.exports = PackManager =
|
|||
|
||||
_getOneDayInFutureWithRandomDelay: ->
|
||||
thirtyMins = 1000 * 60 * 30
|
||||
randomThirtyMinMax = Math.round(Math.random() * thirtyMins)
|
||||
randomThirtyMinMax = Math.ceil(Math.random() * thirtyMins)
|
||||
return new Date(Date.now() + randomThirtyMinMax + 1*DAYS)
|
||||
|
|
Loading…
Reference in a new issue