Commit 54e10a3e authored by rinpatch's avatar rinpatch

Disable timeouts for object pruning query

parent 83ca12f4
......@@ -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