mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-30 20:06:07 +00:00
13 lines
286 B
Elixir
13 lines
286 B
Elixir
|
defmodule Mobilizon.Service.Workers.RefreshGroups do
|
||
|
@moduledoc """
|
||
|
Worker to build sitemap
|
||
|
"""
|
||
|
|
||
|
alias Mobilizon.Federation.ActivityPub.Refresher
|
||
|
|
||
|
use Oban.Worker, queue: "background"
|
||
|
|
||
|
@impl Oban.Worker
|
||
|
def perform(%Job{}), do: Refresher.refresh_all_external_groups()
|
||
|
end
|