mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 00:26:30 +00:00
Merge branch 'fix/prune-objects-times-out' into 'develop'
Disable timeouts for object pruning query See merge request pleroma/pleroma!1193
This commit is contained in:
commit
0b4f569c5b
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue