From 2e9414767c7ad4a0116f89d2ac15850d3a0d7514 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Tue, 22 Nov 2022 09:48:39 +0100 Subject: [PATCH] Increase paging timeout to 30 Signed-off-by: Thomas Citharel --- lib/mobilizon/storage/page.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mobilizon/storage/page.ex b/lib/mobilizon/storage/page.ex index 29f14f651..cc6db6b7c 100644 --- a/lib/mobilizon/storage/page.ex +++ b/lib/mobilizon/storage/page.ex @@ -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