projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b050adb
)
Set Repo.transaction/2 timeout to infinity. Fixes pleroma.user delete_activities...
author
Mark Felder
<feld@feld.me>
Mon, 19 Apr 2021 20:43:17 +0000
(15:43 -0500)
committer
Mark Felder
<feld@feld.me>
Thu, 22 Apr 2021 15:15:50 +0000
(10:15 -0500)
lib/pleroma/web/activity_pub/pipeline.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/activity_pub/pipeline.ex
b/lib/pleroma/web/activity_pub/pipeline.ex
index 377eccb920d20006904e9a45ea63e8a932cbb8d4..40082309496d6b80a31a88456a5f37b39ececc4a 100644
(file)
--- a/
lib/pleroma/web/activity_pub/pipeline.ex
+++ b/
lib/pleroma/web/activity_pub/pipeline.ex
@@
-24,7
+24,7
@@
defmodule Pleroma.Web.ActivityPub.Pipeline do
@spec common_pipeline(map(), keyword()) ::
{:ok, Activity.t() | Object.t(), keyword()} | {:error, any()}
def common_pipeline(object, meta) do
- case Repo.transaction(fn -> do_common_pipeline(object, meta) end) do
+ case Repo.transaction(fn -> do_common_pipeline(object, meta) end
, timeout: :infinity
) do
{:ok, {:ok, activity, meta}} ->
@side_effects.handle_after_transaction(meta)
{:ok, activity, meta}