Skip to content

Commit

Permalink
async search bulk insert is too dangerous
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Sep 2, 2015
1 parent 716522b commit 17a7cfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/gameSearch/src/main/GameSearchApi.scala
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ final class GameSearchApi(client: ESClient) extends SearchReadApi[Game, Query] {
client.storeBulk(games map { g =>
Id(g.id) -> toDoc(g, analysedIds(g.id))
}).logFailure("game bulk")
funit // async!
// funit // async!
}) >>- {
nb = nb + nbGames
nbSkipped = nbSkipped + gameOptions.size - nbGames
Expand Down

0 comments on commit 17a7cfd

Please sign in to comment.