Commit 0b4f569c authored by rinpatch's avatar rinpatch

Merge branch 'fix/prune-objects-times-out' into 'develop'

Disable timeouts for object pruning query

See merge request pleroma/pleroma!1193
parents 83ca12f4 54e10a3e
......@@ -107,7 +107,7 @@ def run(["prune_objects" | args]) do
fragment("split_part(?->>'actor', '/', 3) != ?",, ^
|> Repo.delete_all()
|> Repo.delete_all(timeout: :infinity)
if Keyword.get(options, :vacuum) do"Runnning VACUUM FULL")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment