mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
8 lines
157 B
Ruby
8 lines
157 B
Ruby
class BanWorker
|
|
include Sidekiq::Worker
|
|
sidekiq_options queue: :ban, retry: 10, backtrace: true
|
|
|
|
def perform(site_id)
|
|
Site[site_id].ban!
|
|
end
|
|
end
|