aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-05-27 16:27:29 -0500
committerMark Felder <feld@FreeBSD.org>2020-05-27 16:27:29 -0500
commit73ca57e4f1620ddaf167c368f48a0096b2096a96 (patch)
tree0703db42a7f16fe0f9751aa1ce7f8f4fba96b9e9 /lib
parenta2f57bd82b1b495a754516231b56e53ae41c6b69 (diff)
downloadpleroma-73ca57e4f1620ddaf167c368f48a0096b2096a96.tar.gz
Make it obvious a full vacuum can take a while
Diffstat (limited to 'lib')
-rw-r--r--lib/mix/tasks/pleroma/database.ex4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mix/tasks/pleroma/database.ex b/lib/mix/tasks/pleroma/database.ex
index c4f343f04..1fdafcc88 100644
--- 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;",