remember which puzzles were selected for storm runs
parent
866433ccc7
commit
5722cfb574
|
@ -136,6 +136,13 @@ final class StormSelector(colls: PuzzleColls, cacheApi: CacheApi)(implicit ec: E
|
|||
lila.mon.storm.selector.ratingSlice(i).record(r.toInt)
|
||||
}
|
||||
}
|
||||
colls.puzzle {
|
||||
_.update.one(
|
||||
$inIds(puzzles.map(_.id.value)),
|
||||
$inc("storm" -> 1),
|
||||
multi = true
|
||||
)
|
||||
}.unit
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue