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
2025-06-09 07:39:25 -04:00
sidekiq_options retry: false
def perform
return unless DawarichSettings.self_hosted?
Imports::Watcher.new.call
end
end