dawarich/app/jobs/import/watcher_job.rb

13 lines
228 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class Import::WatcherJob < ApplicationJob
queue_as :imports
sidekiq_options retry: false
def perform
2025-04-04 14:14:44 -04:00
return unless DawarichSettings.self_hosted?
Imports::Watcher.new.call
end
end