app/jobs/resolrize_job.rb in curation_concerns-models-0.1.0 vs app/jobs/resolrize_job.rb in curation_concerns-models-0.2.0
- old
+ new
@@ -1,9 +1,7 @@
-class ResolrizeJob
- def queue_name
- :resolrize
- end
+class ResolrizeJob < ActiveJob::Base
+ queue_as :resolrize
- def run
+ def perform
ActiveFedora::Base.reindex_everything
end
end