mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-23 04:55:08 +01: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
|