mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 17:36:23 +00:00
9 lines
208 B
Ruby
9 lines
208 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
# Realiza tareas de limpieza en segundo plano
|
||
|
class CleanupJob < ApplicationJob
|
||
|
def perform(before = nil)
|
||
|
CleanupService.new(before: before).cleanup_everything!
|
||
|
end
|
||
|
end
|