mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-19 22:27:59 +01:00
Bump timeout for autocomplete generation
This commit is contained in:
parent
c07fbec0e6
commit
3074a291c6
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue