Increase timeout needed to build page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
0a2307b5a3
commit
1f23bb421e
@ -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)
|
||||
|> Enum.map(&Task.await(&1, 15_000))
|
||||
|
||||
%__MODULE__{total: total, elements: elements}
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user