Make it obvious a full vacuum can take a while
This commit is contained in:
parent
a2f57bd82b
commit
73ca57e4f1
1 changed files with 2 additions and 2 deletions
|
@ -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;",
|
||||
|
|
Loading…
Reference in a new issue