* Extract conditionally_update_articles to worker * Split to individual articles on workergits * Fix some failed specs * Fix another spec
11 lines
198 B
Ruby
11 lines
198 B
Ruby
module Organizations
|
|
class SaveArticleWorker
|
|
include Sidekiq::Job
|
|
|
|
sidekiq_options queue: :high_priority
|
|
|
|
def perform(article_id)
|
|
Article.find(article_id).save
|
|
end
|
|
end
|
|
end
|