jobs: migrate related tag updates to ActiveJob.

This commit is contained in:
evazion
2019-08-16 20:49:35 -05:00
parent 24eb1b155f
commit a68db501c2
3 changed files with 19 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
class UpdateRelatedTagsJob < ApplicationJob
queue_as :default
def perform(tag)
tag.update_related
end
end