Increase paging timeout to 30
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
7f15f2bad1
commit
2e9414767c
|
@ -31,7 +31,7 @@ defmodule Mobilizon.Storage.Page do
|
|||
fn -> Repo.all(paginate(query, page, limit)) end
|
||||
]
|
||||
|> Enum.map(&Task.async/1)
|
||||
|> Enum.map(&Task.await(&1, 15_000))
|
||||
|> Enum.map(&Task.await(&1, 30_000))
|
||||
|
||||
%__MODULE__{total: total, elements: elements}
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue