From e7e7d733a8092750568c5957d7c87343d2699380 Mon Sep 17 00:00:00 2001 From: Thibault Duplessis Date: Thu, 27 Apr 2017 13:56:14 +0200 Subject: [PATCH] compute fewer play times --- modules/game/src/main/PlayTime.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/game/src/main/PlayTime.scala b/modules/game/src/main/PlayTime.scala index c6e78d1ed7..59a250b9b0 100644 --- a/modules/game/src/main/PlayTime.scala +++ b/modules/game/src/main/PlayTime.scala @@ -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)