mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
12 lines
228 B
Ruby
12 lines
228 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Import::WatcherJob < ApplicationJob
|
|
queue_as :imports
|
|
sidekiq_options retry: false
|
|
|
|
def perform
|
|
return unless DawarichSettings.self_hosted?
|
|
|
|
Imports::Watcher.new.call
|
|
end
|
|
end
|