projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2f57bd
)
Make it obvious a full vacuum can take a while
author
Mark Felder
<feld@FreeBSD.org>
Wed, 27 May 2020 21:27:29 +0000
(16:27 -0500)
committer
Mark Felder
<feld@FreeBSD.org>
Wed, 27 May 2020 21:27:29 +0000
(16:27 -0500)
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 c4f343f04fa74978fbc764adfcffec6e97ac7dc7..1fdafcc8832450870e012ccc66897762ec6d9e08 100644
(file)
--- a/
lib/mix/tasks/pleroma/database.ex
+++ b/
lib/mix/tasks/pleroma/database.ex
@@
-34,7
+34,7
@@
defmodule Mix.Tasks.Pleroma.Database do
)
if Keyword.get(options, :vacuum) do
- Logger.info("Runnning VACUUM FULL")
+ Logger.info("Runnning VACUUM FULL
. This could take a while.
")
Repo.query!(
"vacuum full;",
@@
-94,7
+94,7
@@
defmodule Mix.Tasks.Pleroma.Database do
|> Repo.delete_all(timeout: :infinity)
if Keyword.get(options, :vacuum) do
- Logger.info("Runnning VACUUM FULL")
+ Logger.info("Runnning VACUUM FULL
. This could take a while.
")
Repo.query!(
"vacuum full;",