mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
ceil not round
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user