Skip to content
Snippets Groups Projects
Commit 0b4f569c authored by rinpatch's avatar rinpatch
Browse files

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

Disable timeouts for object pruning query

See merge request pleroma/pleroma!1193
parents 83ca12f4 54e10a3e
No related branches found
No related tags found
No related merge requests found
......@@ -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")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment