mirror of
https://git.pleroma.social/sjw/pleroma.git
synced 2024-12-23 14:55:03 +01:00
Disable timeouts for object pruning query
This commit is contained in:
parent
83ca12f45e
commit
54e10a3e55
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user