Refresh profiles in a background task

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-05-12 18:18:20 +02:00
parent 8c53ea442f
commit 4100b2f962
6 changed files with 40 additions and 15 deletions

View File

@@ -14,7 +14,7 @@ defmodule Mix.Tasks.Mobilizon.Relay.Refresh do
IO.puts("Refreshing #{target}, this can take a while.")
case Relay.refresh(target) do
:ok ->
{:ok, _} ->
IO.puts("Refreshed #{target}")
err ->