Increase timeout for background, remote fetcher, and user refresh jobs

This commit is contained in:
Mark Felder 2024-07-20 22:00:34 -04:00
parent d62a9afed3
commit fdeb8616e8
5 changed files with 4 additions and 4 deletions

View file

View file

@ -453,7 +453,7 @@ defmodule Pleroma.Web.ActivityPub.SideEffects do
) do ) do
orig_object_ap_id = updated_object["id"] orig_object_ap_id = updated_object["id"]
orig_object = Object.get_by_ap_id(orig_object_ap_id) orig_object = Object.get_by_ap_id(orig_object_ap_id)
orig_object_data = orig_object.data orig_object_data = Map.get(orig_object, :data)
updated_object = updated_object =
if meta[:local] do if meta[:local] do

View file

@ -40,5 +40,5 @@ defmodule Pleroma.Workers.BackgroundWorker do
end end
@impl Oban.Worker @impl Oban.Worker
def timeout(_job), do: :timer.seconds(5) def timeout(_job), do: :timer.seconds(15)
end end

View file

@ -31,5 +31,5 @@ defmodule Pleroma.Workers.RemoteFetcherWorker do
end end
@impl Oban.Worker @impl Oban.Worker
def timeout(_job), do: :timer.seconds(10) def timeout(_job), do: :timer.seconds(15)
end end

View file

@ -13,5 +13,5 @@ defmodule Pleroma.Workers.UserRefreshWorker do
end end
@impl Oban.Worker @impl Oban.Worker
def timeout(_job), do: :timer.seconds(5) def timeout(_job), do: :timer.seconds(15)
end end