forked from fedi/mastodon
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
|