mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-25 09:34:16 -05:00
bd53dd5210
* Change design of federation pages in admin UI * Fix query performance in instance media attachments measure * Fix reblogs being included in instance languages dimension
12 lines
217 B
Ruby
12 lines
217 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Admin::DomainPurgeWorker
|
|
include Sidekiq::Worker
|
|
|
|
sidekiq_options queue: 'pull', lock: :until_executed
|
|
|
|
def perform(domain)
|
|
PurgeDomainService.new.call(domain)
|
|
end
|
|
end
|