Skip to content

Commit

Permalink
add mongodb hint to game ingestor
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Jan 22, 2025
1 parent a464f16 commit 030e8ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/ingestor/src/main/scala/mongo.game.scala
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ object GameRepo:
fs2.Stream.eval(info"Fetching games from $since to $until") *>
games
.find(filter.and(gameFilter))
.hint("ca_-1")
// .projection(postProjection)
.boundedStream(config.batchSize)
.chunkN(config.batchSize)
Expand Down

0 comments on commit 030e8ae

Please sign in to comment.