Increase paging timeout to 30

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-11-22 09:48:39 +01:00
parent 7f15f2bad1
commit 2e9414767c
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -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