Make it obvious a full vacuum can take a while
authorMark Felder <feld@FreeBSD.org>
Wed, 27 May 2020 21:27:29 +0000 (16:27 -0500)
committerMark Felder <feld@FreeBSD.org>
Wed, 27 May 2020 21:27:29 +0000 (16:27 -0500)
lib/mix/tasks/pleroma/database.ex

index c4f343f04fa74978fbc764adfcffec6e97ac7dc7..1fdafcc8832450870e012ccc66897762ec6d9e08 100644 (file)
@@ -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;",