mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-18 04:43:24 +00: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
|