projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83ca12f
)
Disable timeouts for object pruning query
author
rinpatch
<rinpatch@sdf.org>
Wed, 22 May 2019 17:10:52 +0000
(20:10 +0300)
committer
rinpatch
<rinpatch@sdf.org>
Wed, 22 May 2019 17:10:52 +0000
(20:10 +0300)
lib/mix/tasks/pleroma/database.ex
patch
|
blob
|
history
diff --git
a/lib/mix/tasks/pleroma/database.ex
b/lib/mix/tasks/pleroma/database.ex
index f9bafb27731c68d36c4f091ed9422939a6fc16bc..4d480ac3fb38d69dbab4843ea364d1a70dbac4a5 100644
(file)
--- a/
lib/mix/tasks/pleroma/database.ex
+++ b/
lib/mix/tasks/pleroma/database.ex
@@
-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")