mirror of
https://github.com/funamitech/mastodon
synced 2024-12-15 15:18:30 +09: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
|