diff options
author | rinpatch <rinpatch@sdf.org> | 2019-05-22 20:10:52 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-05-22 20:10:52 +0300 |
commit | 54e10a3e55fe46b71ef7f330605baf8bcccd5a44 (patch) | |
tree | ccd6e9060bc0b527732fbded1e797660c0ca588a | |
parent | 83ca12f45edf3a2bc863246e5c730b5a44acae3d (diff) | |
download | pleroma-54e10a3e55fe46b71ef7f330605baf8bcccd5a44.tar.gz |
Disable timeouts for object pruning query
-rw-r--r-- | lib/mix/tasks/pleroma/database.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mix/tasks/pleroma/database.ex b/lib/mix/tasks/pleroma/database.ex index f9bafb277..4d480ac3f 100644 --- a/lib/mix/tasks/pleroma/database.ex +++ b/lib/mix/tasks/pleroma/database.ex @@ -107,7 +107,7 @@ defmodule Mix.Tasks.Pleroma.Database do where: fragment("split_part(?->>'actor', '/', 3) != ?", o.data, ^Pleroma.Web.Endpoint.host()) ) - |> Repo.delete_all() + |> Repo.delete_all(timeout: :infinity) if Keyword.get(options, :vacuum) do Logger.info("Runnning VACUUM FULL") |