compute fewer play times
parent
4a59979997
commit
e7e7d733a8
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue