1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
5 defmodule Pleroma.Workers.ActivityExpirationWorker do
6 # Note: `max_attempts` is intended to be overridden in `new/2` call
8 queue: "activity_expiration",
11 use Pleroma.Workers.WorkerHelper, queue: "activity_expiration"
16 "op" => "activity_expiration",
17 "activity_expiration_id" => activity_expiration_id
21 Pleroma.ActivityExpirationWorker.perform(:execute, activity_expiration_id)