compute fewer play times

pull/2981/head
Thibault Duplessis 2017-04-27 13:56:14 +02:00
parent 4a59979997
commit e7e7d733a8
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ final class PlayTimeApi(
case pt => fuccess(pt)
}
def randomlyCompute = scala.util.Random.nextInt(3) == 0
def randomlyCompute = scala.util.Random.nextInt(5) == 0
private def compute(user: User): Fu[Option[User.PlayTime]] =
creationCache.get(user.id).withTimeoutDefault(1 second, none)(system)