add github_advisory_importer_worker
This commit is contained in:
parent
941766c9a4
commit
f2396126e3
1 changed files with 10 additions and 0 deletions
10
app/workers/github_advisory_importer_worker.rb
Normal file
10
app/workers/github_advisory_importer_worker.rb
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
require '/data_importer/lib/importers/github_advisory_importer.rb'
|
||||||
|
|
||||||
|
class GithubAdvisoryImporterWorker
|
||||||
|
include Faktory::Job
|
||||||
|
|
||||||
|
def perform(*args)
|
||||||
|
puts "Hello, I am #{jid} with args #{args}"
|
||||||
|
GithubAdvisoryImporter.new.import
|
||||||
|
end
|
||||||
|
end
|
Loading…
Add table
Reference in a new issue