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 @@ 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")
......
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