forked from potsda.mn/mobilizon
74e0e009d1
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
14 lines
284 B
Elixir
14 lines
284 B
Elixir
defmodule Mobilizon.Service.Workers.CleanOldActivityWorker do
|
|
@moduledoc """
|
|
Worker to clean old activity
|
|
"""
|
|
|
|
use Oban.Worker, queue: "background"
|
|
alias Mobilizon.Service.CleanOldActivity
|
|
|
|
@impl Oban.Worker
|
|
def perform(%Job{}) do
|
|
CleanOldActivity.clean()
|
|
end
|
|
end
|