prevent errors to be stored in game cache

By just replacing them with the absence of a game.
This will cause the round and proxy to be terminated,
and the next request will try to load it again.
pull/9930/head
Thibault Duplessis 2021-10-04 09:01:01 +02:00
parent 127ade48e0
commit a217b16c9b
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ final private class GameProxy(
private[this] var cache: Fu[Option[Game]] = fetch
private[this] def fetch = gameRepo game id
private[this] def fetch = gameRepo game id recoverDefault none
}
private object GameProxy {