Bump timeout for autocomplete generation

This commit is contained in:
Liam 2021-12-26 19:50:09 -05:00 committed by byte[]
parent c07fbec0e6
commit 3074a291c6

View file

@ -125,7 +125,7 @@ defmodule Philomena.Autocomplete do
|> having([_, t], fragment("(100 * count(*)::float / LEAST(?, 100)) > 50", ^images_count))
|> select([_, t], t.id)
|> limit(8)
|> Repo.all()
|> Repo.all(timeout: 120_000)
{name, assoc_ids}
end)