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
orig_object_ap_id = updated_object["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 =
if meta[:local] do

View File

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

View File

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

View File

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