Make it obvious a full vacuum can take a while
This commit is contained in:
parent
a2f57bd82b
commit
73ca57e4f1
|
@ -34,7 +34,7 @@ def run(["remove_embedded_objects" | args]) 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 @@ def run(["prune_objects" | args]) 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 New Issue